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 » General IBM MQ Support » log4j not working when runnning in MQ Services Panel

Post new topic  Reply to topic
 log4j not working when runnning in MQ Services Panel « View previous topic :: View next topic » 
Author Message
psiracusa
PostPosted: Fri Jan 18, 2008 8:55 am    Post subject: log4j not working when runnning in MQ Services Panel Reply with quote

Apprentice

Joined: 17 Nov 2006
Posts: 34

I have a java app where we are using log4j and it logs fine when we are running it from a command line but not when running it from the MQ Services panel in MQExplorer. The app will come up but no log output is generated. I've tried specifying an absolute log path in the properties file, adding the properties file to the classpath etc. pretty much everything I've read to try on this forum. Any help would be appreciated.
Back to top
View user's profile Send private message
amiivas
PostPosted: Tue Feb 05, 2008 1:15 am    Post subject: Re: log4j not working when runnning in MQ Services Panel Reply with quote

Apprentice

Joined: 14 Oct 2007
Posts: 44
Location: Texas, USA

psiracusa wrote:
I have a java app where we are using log4j and it logs fine when we are running it from a command line but not when running it from the MQ Services panel in MQExplorer. The app will come up but no log output is generated. .......


Try to use PropertyConfigurator in one of your java applications.
import PropertyConfigurator and configure it by giving the path of the log4j proerties file.
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 » General IBM MQ Support » log4j not working when runnning in MQ Services Panel
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.