DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38580>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38580 ------- Additional Comments From [EMAIL PROTECTED] 2006-02-08 22:10 ------- LogFilePatternReceiver doesn't use the 'patterns' used by PatternLayout - it uses keywords. Read the JavaDoc for LogFilePatternReceiver for more information: http://svn.apache.org/viewcvs.cgi/logging/log4j/trunk/src/java/org/apache/log4j/varia/LogFilePatternReceiver.java?view=markup There is also a sample receiver configuration available from Chainsaw's 'Welcome' tab - it contains a sample LogFilePatternReceiver configuration section. LogFilePatternReceiver can read multiple lines, but I'm not sure it would match your patternLayout correctly (it would probably match the last line of the text before the next log message). I'd suggest changing your conversionPattern to this: log4j.appender.FILE.layout.ConversionPattern=%d %p %c [%t] [%x] - %m%n And then use this as your logFormat: TIMESTAMP LEVEL LOGGER [THREAD] [NDC] - MESSAGE Notice I changed the level to %p - if you truncate the level name in the log file, Chainsaw won't recognize it. Scott -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
