Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence calls to UserController#info #89

Closed
ryanfb opened this issue Jul 30, 2015 · 2 comments
Closed

Silence calls to UserController#info #89

ryanfb opened this issue Jul 30, 2015 · 2 comments

Comments

@ryanfb
Copy link
Member

ryanfb commented Jul 30, 2015

Since this gets AJAX called on every papyri.info page load, it clutters up the logs with e.g.:

Jul 30, 2015 3:43:30 PM org.apache.tomcat.util.http.Cookies processCookieHeader
INFO: Cookies: Invalid cookie. Value not a token or quoted value
Started GET "/editor/user/info" for 0:0:0:0:0:0:0:1 at 2015-07-30 15:43:30 -0400
Processing by UserController#info as JSON

First two lines are from https://bz.apache.org/bugzilla/show_bug.cgi?id=52184, and should be fixed by running Tomcat 7.0.25+.

Second two lines we could look into using e.g. https://github.com/stve/silencer

@ryanfb
Copy link
Member Author

ryanfb commented Jun 12, 2018

Second two lines:

Started GET "/editor/user/info" for 0:0:0:0:0:0:0:1 at 2015-07-30 15:43:30 -0400
Processing by UserController#info as JSON

Are now silenced.

@ryanfb
Copy link
Member Author

ryanfb commented Jul 18, 2018

With #225 (Tomcat 7.0.25+ for production) done, I now only see one "Invalid cookie" log after startup, with a note that "further occurrences of Cookie errors will be logged at DEBUG level."

@ryanfb ryanfb closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant