ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Log4j Date not logging

Post new topic  Reply to topic
 Log4j Date not logging « View previous topic :: View next topic » 
Author Message
prasannanb
PostPosted: Sun Oct 30, 2011 11:00 pm    Post subject: Log4j Date not logging Reply with quote

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
View user's profile Send private message
akidase
PostPosted: Mon Oct 31, 2011 2:30 am    Post subject: Reply with quote

Centurion

Joined: 10 Jan 2011
Posts: 124

Plug-in nodes?

Java Code?

Environment Details?
Back to top
View user's profile Send private message
prasannanb
PostPosted: Mon Oct 31, 2011 2:40 am    Post subject: Reply with quote

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
View user's profile Send private message
adubya
PostPosted: Mon Oct 31, 2011 5:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
prasannanb
PostPosted: Tue Nov 01, 2011 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Log4j Date not logging
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.