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

Reduced logging #342

Closed
wants to merge 3 commits into from
Closed

Reduced logging #342

wants to merge 3 commits into from

Conversation

escowles
Copy link
Contributor

@escowles escowles commented May 6, 2014

  • Fixes https://www.pivotaltracker.com/story/show/69859530
  • Greatly reduced logging output by default (no graph dumps, only stacktraces generated by testing exception handling)
  • Standardized logging levels across projects
  • Added system properties to control log level globally or for each package:

log.fcrepo
log.fcrepo.auth
log.fcrepo.connector.file
log.fcrepo.generator.dublincore
log.fcrepo.http.api
log.fcrepo.http.commons
log.fcrepo.jms
log.fcrepo.kernel
log.fcrepo.storage.policy
log.fcrepo.transform

<appender-ref ref="STDOUT"/>
</logger>
<logger name="org.fcrepo.kernel.observer" additivity="false" level="DEBUG">
<logger name="org.fcrepo.kernel.observer" additivity="false" level="${log.fcrepo:-INFO}">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The level is probably a cut and paste error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set these to be INFO by default, even though it's different from what the old behavior was, to be more consistent across packages. My thinking was that if debugging the JMS code requires debug output from those other packages, then it could be configured with System properties. Should I put these defaults back to INFO?

@awoods
Copy link

awoods commented May 6, 2014

@awoods awoods closed this May 6, 2014
@awoods awoods deleted the reduced-logging branch May 6, 2014 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants