logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashish talati <ajtal...@yahoo.com>
Subject Re: Please help- Chainsaw Configuration
Date Mon, 18 Jun 2007 22:23:04 GMT
Hi Paul,
  Thanks for your help,
  I can try another format,
  how ever can you please look into my other problems that I previously described?
  That are regarding skipping some logs and drag and drop xml file error!!!

Paul Smith <psmith@aconex.com> wrote:
> Time 2007-06-18 11:50:02,223 ----> in the chainsaw 
> log panel
> timestamp="1182185402223"---------> in the log file

Since you are using the XMLLayout for the log file being written to 
disk, this is the way that layout outputs the Timestamp, using the 
epoch timeformat of "number of milliseconds since 1-1-1970", which is 
what the internal format for storing time.

If you don't want XML formatted logs, use a different Layout, such as 

> It looks entirely different except last 5 digits.
> 2)I really dont know how to configure specific logger for my 
> rolling File appender.
> Can you give me specific example? (what can be logger hierarchy?)
> I tried to create as below ,but It is not working.

I would suggest you first read the short manual available online:


If that and the JavaDoc documentation doesn't get you started I'd 
highly recommend Ceki's commercial book on log4j.



Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message