You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Thierry Lam <la...@pcigeomatics.com> on 2005/04/22 16:18:44 UTC

Log file formating problem with chainsaw

I'm having problem with my log file formatting, I used log4cxx to
produce it. Here's what mine look like:

2005-04-22 10:09:12,957 INFO [STUFFLogger] - Entering STUFF
 2005-04-22 10:09:12,957 DEBUG [STUFFLogger] - In run method
 2005-04-22 10:09:13,067 INFO [STUFFLogger] - Exiting STUFF

Notice the single spacing before the 2nd and 3rd line.

If I pass the above to chainsaw, I only get one ID which show up in the
GUI.

If I pass the following logfile:

2005-04-22 10:09:12,957 INFO [STUFFLogger] - Entering STUFF
2005-04-22 10:09:12,957 DEBUG [STUFFLogger] - In run method
2005-04-22 10:09:13,067 INFO [STUFFLogger] - Exiting STUFF

Then, I get 3 IDs which show up in the GUI, which is correct.

I'm not sure if log4j users have this formatting problem but I'm getting
it with log4cxx. The first log line is always on the far most margin,
but any lines after get shift one character space to the right.

Any help please?

Thanks
Thierry


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org