/[Apache-SVN]
ViewVC logotype

Revision 941180


Jump to revision: Previous Next
Author: sdeboy
Date: Wed May 5 07:17:00 2010 UTC (14 years, 1 month ago)
Changed paths: 3
Log Message:
added support for 'custom level definitions' in LogFilePatternReceiver, which allows the user to map strings in the log file to Log4j levels
if there are extra spaces that would prevent a pattern from matching, strip them out
exclude empty lines (if appendNonMatches was false, would add an empty line to the log)

With these changes, redirection of Android logging via 'logcat -v time' will now render fine in Chainsaw, using:
<param name="logFormat" value="TIMESTAMP LEVEL/LOGGER(PROP(PID)):MESSAGE"/> 
<param name="customLevelDefinitions" value="V=TRACE,D=DEBUG,I=INFO,W=WARN,E=ERROR,F=FATAL,S=OFF"/>


Changed paths

Path Details
Directorylogging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiverBeanInfo.java modified , text changed
Directorylogging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java modified , text changed
Directorylogging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiverBeanInfo.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26