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 » Event Logging through a Plugin Node

Post new topic  Reply to topic
 Event Logging through a Plugin Node « View previous topic :: View next topic » 
Author Message
PPriya
PostPosted: Sun Jul 07, 2002 8:57 pm    Post subject: Event Logging through a Plugin Node Reply with quote

Newbie

Joined: 04 Jul 2002
Posts: 3

Hi
I have a plugin node coded in C & running on a broker in Solaris. I need to do some event logging thru this.

I have generated the Message catalogue and installed it in the directories specified in the MQSI documentation.. the docs also mention that the messages would be written to the SYSLOG when CciLog or ccithrowexception is used with the right message catalogue & message id as parameters.
The node seems to run fine but I dont see the messages being logged in /var/adm/messages. am'I looking at the right file ? Is there anything else I need to do ?

(Just to check this out I followed the process mentioned for windows & here I see the messages being logged in the event viewer)

Any idea y it dosent work on solaris ??

Thanx
Priya
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Mon Jul 08, 2002 3:21 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Do messages get written to your syslog when you stop/start a broker?
Is your syslog daemon setup right?
I'm not sure of Solaris but on AIX the configuration file is /etc/syslog.conf
If you need to make changes, make sure you restart the syslogd.
Back to top
View user's profile Send private message
udaybho
PostPosted: Mon Jul 08, 2002 11:38 am    Post subject: Reply with quote

Voyager

Joined: 09 May 2002
Posts: 94
Location: Chicago

I did this at the time of Installation and you will find this in "MQSI instaltion guide for Solaris" under "Configuring the syslog on Sun Solaris"

1. Create a file to store User facility messages
touch /var/adm/user.log
chown root:mqbrkrs /var/adm/user.log
chmod 750 /var/adm/user.log

2. Add the following line to the file /etc/syslog.conf
user.debug /var/adm/user.log

3. restart the syslog daemon
refresh -s syslogd

Hope this helps.

Uday Bhosle
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 » Event Logging through a Plugin Node
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.