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 » Configuring Log4j Node and Fetch thread Id for logging

Post new topic  Reply to topic
 Configuring Log4j Node and Fetch thread Id for logging « View previous topic :: View next topic » 
Author Message
sasad
PostPosted: Fri Jan 16, 2015 2:46 am    Post subject: Configuring Log4j Node and Fetch thread Id for logging Reply with quote

Acolyte

Joined: 30 Apr 2014
Posts: 67

hi everone,

Recently I have used log4j node for logging purpose. I followed all the steps and was able to sucessfully produce logs. But I encountered two issues.

1. I must provide full / absolute path of config brokerlog.xml file in Log4jConfigFile property, even this file is placed under broker classpath (C:\Program Data\IBM\MQSI). I tried by just giving 'brokerlog.xml' in this property but don't work. So do is it log4j node limitation that it requires abolute path?

2. Second thing is that I want to write Thread Id along with my message in logs. How I can get thread id? I am using following format in LogText field
$ESQL:InputRoot.DFDL.ISO8583_1987$

Thanks in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 16, 2015 4:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Best practice says use java.util.logging
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Configuring Log4j Node and Fetch thread Id for 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.