logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@houston.rr.com>
Subject Re: Formating problem in the log file
Date Thu, 21 Apr 2005 16:28:46 GMT
I assume not, but don't have your configuration file.  I'm guessing the 
problem may be one of line-feed convention.  Could you open the log 
file with a hex editor (File Open in Visual Studio and select Open As 
Binary) and report the byte sequence before the second line.  Also, are 
you seeing the shift in all subsequent lines and also in all text 
editors?


On Apr 21, 2005, at 9:38 AM, Thierry Lam wrote:

> I finally got log4cxx from March 31st to work and my log file 
> initially looks like the following:
>  
> Here’s what I get:
>  
> 2005-04-21 10:30:51,518 INFO STUFFSLogger 
> (c:\home\stuffs\stuffs.cpp:397) - Entering STUFFS CLASS
>  2005-04-21 10:30:51,628 INFO STUFFSLogger 
> (c:\home\stuffs\stuffs.cpp:408) - Exiting STUFFS CLASS
>  
> Here’s what I want:
>  
> 2005-04-21 10:30:51,518 INFO STUFFSLogger 
> (c:\home\stuffs\stuffs.cpp:397) - Entering STUFFS CLASS
> 2005-04-21 10:30:51,628 INFO STUFFSLogger 
> (c:\home\stuffs\stuffs.cpp:408) - Exiting STUFFS CLASS
>  
>  
> As you can observe from the output logfile, the left margin of the 1st 
> line does not match the left margin of the 2nd line, is that the 
> intended behaviour?
>  
> Thanks
> Thierry


Mime
View raw message