Florian Boulay
Mon, 26 Jul 2010 01:15:24 -0700
Ok I answered to quickly. The updated version still parses my log file, but it always display : "found non matching line:..."
2010/7/26 Florian Boulay <florian.bou...@gmail.com> > Hi, > > I tried the format [TIMESTAMP] [LEVEL] * LOGGER | MESSAGE with the official > version of Chainsaw and the updated version found here : > http://people.apache.org/~sdeboy/ <http://people.apache.org/%7Esdeboy/>and It > did not work. > > On the updated version, nothing happen when choosing my chainsaw confg > file. No error message in the tab "chainsaw-log". Sound like it did not > parse any file. I also tried to delete all files in my .chainsaw directory, > but it does not change the behavior of Chainsaw. Maybe I should try with a > SocketAppender instead of loading a local file. > > 2010/7/26 Scott Deboy <scott.de...@gmail.com> > > Can you try >> [TIMESTAMP] [LEVEL] * LOGGER | MESSAGE >> >> Also, try the updated version of Chainsaw when you have a chance and see >> if that resolves your issue. >> >> Scott >> >> >> >> >> On Jul 26, 2010, at 12:25 AM, Florian Boulay <florian.bou...@gmail.com> >> wrote: >> >> Hello, >>> >>> These two formats do not work : >>> - [TIMESTAMP] [LEVEL] user:[PROP(USER)] LOGGER | MESSAGE >>> - [TIMESTAMP] [LEVEL] user:[*] LOGGER | MESSAGE >>> >>> I am still searching the right format, I tried just '*' and it still does >>> not work.... >>> >>> 2010/7/23 Scott Deboy <scott.de...@gmail.com> >>> >>> Try: >>>> [TIMESTAMP] [LEVEL] user:[PROP(USER)] LOGGER | MESSAGE >>>> >>>> Or, if you don't want the user property defined (you probably still want >>>> the >>>> logger, yes?) >>>> [TIMESTAMP] [LEVEL] user:[*] LOGGER | MESSAGE >>>> >>>> >>>> On Fri, Jul 23, 2010 at 9:15 AM, Florian Boulay < >>>> florian.bou...@gmail.com >>>> >>>>> wrote: >>>>> >>>> >>>> Hello, >>>>> >>>>> Since 2 days, I am trying to configure Chainsaw v2 for parsing my log4j >>>>> >>>> log >>>> >>>>> files, but it always returns "found non matching line...". >>>>> >>>>> Here is my log4j configuration : >>>>> <appender name="crm" class="org.apache.log4j.DailyRollingFileAppender"> >>>>> .... >>>>> <layout class="org.apache.log4j.PatternLayout"> >>>>> <param name="ConversionPattern" value="[%d{dd MMM yyyy >>>>> HH:mm:ss,SSS}] [%p] user: [%x] %c | %m%n"/> >>>>> </layout> >>>>> </appender> >>>>> >>>>> And my Chainsaw configuration : >>>>> <plugin name="logFileReceiver" >>>>> class="org.apache.log4j.varia.LogFilePatternReceiver"> >>>>> <param name="fileURL" value="file:///c:/app.log" /> >>>>> <param name="timestampFormat" value="dd MMM yyyy HH:mm:ss,SSS"/> >>>>> <param name="logFormat" value="[TIMESTAMP] [LEVEL] user: [*] * | >>>>> MESSAGE"/> >>>>> <param name="name" value="log app" /> >>>>> <param name="tailing" value="true" /> >>>>> </plugin> >>>>> >>>>> It does not work. I tried a lot of logFormat, but I do not manage to >>>>> get >>>>> >>>> it >>>> >>>>> work. Can someone help me ? >>>>> >>>>> Thanks >>>>> >>>>> >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org >> For additional commands, e-mail: log4j-user-h...@logging.apache.org >> >> >