-
Notifications
You must be signed in to change notification settings - Fork 101
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
Convert logging to logback predominantly via slf4j #1006
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
fe24c2f
Initial commit after using SLF4J Migrator.
ximenesuk 6766ed3
Two changes made by hand to preserve the original encoding and minimi…
ximenesuk 46f9929
Fix two-line log factory invocations missed by migrator.
ximenesuk 14dd05e
Change argument types to Logger.
ximenesuk 4c7dbdb
Add logback jars.
ximenesuk e5313a2
Update slf4j jars.
ximenesuk 2a1efd0
Update omero.properties
ximenesuk 24e3e45
Remove unused CommonsLoggingAdapter.
ximenesuk 00bb2cf
Resolve conflict between slf4j.Logger and log4j.Logger
ximenesuk 94e34ee
Change fatal() to error().
ximenesuk 8277002
Force log arguments to Strings.
ximenesuk c1855d5
Fix a few tests missed by the migrator and not picked up in other com…
ximenesuk 3ee1480
Translated log4j-cli.properties to logback-cli.xml
ximenesuk 5add9ff
Reverting changes under dsl as velocity is dependent on log4j
ximenesuk 5537cde
Add logback dependency, remove slf4j-log4j12 dependency.
ximenesuk 90fadd9
Update perf4j to exploit logback more fully.
ximenesuk 2eb1812
Update configuration to logback with minimal logback.xml file
ximenesuk cdcae3d
Replicate most of log4j config
ximenesuk df19371
Replicate and add indexing logging.
ximenesuk b8fe39d
Removing configureLogging.
ximenesuk f9d96cf
Upgrade ehcache to 2.1.0, remove jsr107cache.
ximenesuk 75a7c08
Change perf4j to use slf4j logging and add config.
ximenesuk 6549890
Add jcl-over-slf4j to catch springframework logging.
ximenesuk 4ebc238
Add back config for build logging.
ximenesuk a2e5bde
Remove log4j config files from etc.
ximenesuk 56a4686
Move apacheds server dependencies to allow other unit tests to run.
ximenesuk 2b01d50
Temporary commit for files that need further work.
ximenesuk c5c4711
Modify two blitz tests to use logback directly.
ximenesuk 136452b
Fix comment errors
ximenesuk 29c0c61
Fix dsl errors
ximenesuk 2589d8e
Reverting EOL changes.
ximenesuk 0fc1f8c
Changes to log config.
ximenesuk 50cd930
Removing unnecessary imports.
ximenesuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- For assistance related to logback-translator or configuration --> | ||
<!-- files in general, please contact the logback user mailing list --> | ||
<!-- at http://www.qos.ch/mailman/listinfo/logback-user --> | ||
<!-- --> | ||
<!-- For professional support please see --> | ||
<!-- http://www.qos.ch/shop/products/professionalSupport --> | ||
<!-- --> | ||
<configuration> | ||
<appender name="stderr" class="ch.qos.logback.core.ConsoleAppender"> | ||
<target>System.err</target> | ||
<encoder> | ||
<pattern>%d %-10.10r [%10.10t] %-6.6p %40.40c %x - %m</pattern> | ||
</encoder> | ||
</appender> | ||
<logger name="ome.adapters" level="error"/> | ||
<logger name="ome" level="info"/> | ||
<logger name="ome.formats" level="info"/> | ||
<logger name="loci" level="error"/> | ||
<logger name="ome.system" level="warn"/> | ||
<root level="warn"> | ||
<appender-ref ref="stderr"/> | ||
</root> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will certainly affect the results of what we get from import logging until it's been fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there I tried a fix but it looks like it will need to be fixed in the context of moving Insight/Importer away from log4j