Which conversion character would log timezone ?

2006-05-18 Thread V Jayakumar
In Log4j, which conversion character would help me to log the time zone along with the date. For example, %d{MMM dd HH:mm:ss.SSS} would help me to print the time as MAY 18 2006 12:12:34.234 I would like the see the time zone along with the date as MAY 18 2006 12:12:34.234 BST Could you

Is it possible to log the sequence number

2006-05-18 Thread V Jayakumar
Is there any conversion character which would help to log the sequence number of the message in the log file ? For example, my code looks something like, logger.log ("Aloha"); logger.log ("Hello There"); I want the output in the log file as 1 Aloha 2 Hello There Thanks in advance for your he

Which conversion character would log IP Address / Hostname?

2006-05-19 Thread V Jayakumar
Is there a conversion character that can be used in ConversionPattern to log IP Address or Host name of the system in which my process is running ? Thanks in advance for the help. - To unsubscribe, e-mail: [EMAIL PROTECTED] F

question on conversion character %c

2006-05-19 Thread V Jayakumar
In my pattern layout, if I use the conversion character %c, it prints the value based on the category as expected: Example : com.abc.def.ghi - Message 1 com.abc.def.ghi - Message 2 com.abc.def - Message 3 com.abc.def - Message 4 My requirement is to see the log messages as def.ghi - Message 1

Re: question on conversion character %c

2006-05-20 Thread V Jayakumar
On May 19, 2006, at 9:41 AM, V Jayakumar wrote: In my pattern layout, if I use the conversion character %c, it prints the value based on the category as expected: Example : com.abc.def.ghi - Message 1 com.abc.def.ghi - Message 2 com.abc.def - Message 3 com.abc.def - Message 4 My

Conversion character to log the Hostname or IP Address

2006-05-23 Thread V Jayakumar
Hello, Few days back, I had posted a message asking, if there is a conversion character that I can specify in the Patter Layout to log the IP Address or host name of the system in which the logger is instantiated. So far, I haven't got any reply. Could someone confirm, which is the best way

Configuring Tomcat application's logging

2008-07-16 Thread V Jayakumar
Hello OS : Linux + Tomcat 5.5 Logs from my application deployed in Tomcat being written to catalina.out with logging level as DEBUG I want to change the logging level for my application to ERROR Created a directory as: /home/tomcat/webapps/appName/WEB-INF/classes Had created a log4j.