Hi Jukka,
Jukka Zitting wrote:
Would it be bad if the default logging configuration was changed? Having less of the useless clutter helps to identify test failures and other problems.
agreed, they also bothered me for quite some time.
The patch below cleans up the unit test output. OK to commit?
Index: applications/test/log4j.properties =================================================================== --- applications/test/log4j.properties (revision 156417) +++ applications/test/log4j.properties (working copy) @@ -1,7 +1,7 @@ # Set root logger level to DEBUG and its only appender to A1. -log4j.rootLogger=INFO, stdout, file -#log4j.rootLogger=DEBUG, stdout, file -#log4j.rootLogger=ERROR, stdout, file +log4j.rootLogger=INFO, file +#log4j.rootLogger=DEBUG, file +#log4j.rootLogger=ERROR, file
log4j.logger.org.apache.jackrabbit.test=DEBUG
If I read the diff correctly, then no log messages at all will go to stdout, right? I would prefer to at least see warn and error messages on stdout. what do you tink?
regards marcel
