Author |
Message
|
prasannanb |
Posted: Sun Oct 30, 2011 11:00 pm Post subject: Log4j Date not logging |
|
|
Apprentice
Joined: 17 Apr 2009 Posts: 35
|
Hi,
I am using log4j functions in compute node. But date is not getting logged. Only time is getting logged.
Appreciate your help to resolve this.
Thanks in advance |
|
Back to top |
|
 |
akidase |
Posted: Mon Oct 31, 2011 2:30 am Post subject: |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
Plug-in nodes?
Java Code?
Environment Details? |
|
Back to top |
|
 |
prasannanb |
Posted: Mon Oct 31, 2011 2:40 am Post subject: |
|
|
Apprentice
Joined: 17 Apr 2009 Posts: 35
|
akidase wrote: |
Plug-in nodes?
Java Code?
Environment Details? |
I am using log4j plugin (IAM3 Support pack). Calling log4j fuction from esql. It is logging the text, but only time is getting logged without date part as expected. |
|
Back to top |
|
 |
adubya |
Posted: Mon Oct 31, 2011 5:42 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
prasannanb wrote: |
akidase wrote: |
Plug-in nodes?
Java Code?
Environment Details? |
I am using log4j plugin (IAM3 Support pack). Calling log4j fuction from esql. It is logging the text, but only time is getting logged without date part as expected. |
Checked the log4j config file which specifies the output format for log entries ? |
|
Back to top |
|
 |
prasannanb |
Posted: Tue Nov 01, 2011 3:44 am Post subject: |
|
|
Apprentice
Joined: 17 Apr 2009 Posts: 35
|
Added
<param name="ConversionPattern" value="%d{MM-dd-yyyy HH:mm:ss,SSS} %-5p [%-10t] %m%n"/>
in log4j config file. It is logging date now.
Thanks |
|
Back to top |
|
 |
|