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 » where is MB log in LINUX (suse10) ?

Post new topic  Reply to topic
 where is MB log in LINUX (suse10) ? « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Tue Jul 22, 2008 12:26 pm    Post subject: where is MB log in LINUX (suse10) ? Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Hi all.
I have configured few Unix systems with MB 6.1
and it is important to set MB Log file using SYSLOG.CONF file.
There we set a line like "user.debug /var/wbimb/user.log"
and here we are : MB log is written to "user.log" file.

Now I have to install MB 6.1 under SuSE 10 (64 bits)
and find there is no "syslog.conf" file.

*** WHERE/HOW IS THE MB LOG defined ??? ***

Thanks. Seb.
Back to top
View user's profile Send private message Visit poster's website
sridhsri
PostPosted: Tue Jul 22, 2008 5:51 pm    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

syslog.conf or the syslogd process have nothing to do with Message Broker or any IBM product. Its a feature provided by the local OS which IBM products leverage. I suggest you read the OS manual - perhaps they have changed the location of the file.
Back to top
View user's profile Send private message
sebastia
PostPosted: Wed Jul 23, 2008 7:27 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

mr SRIDHSRI - I have my hard disk filled up with ...
MQ manuals (version 5.3 and 6, all brands all platforms)
MB manuals (version 6 and 6.1, plenty of them)
redBooks, PPTs etc etc

You are right : I do not have SuSE Linux books.
But I am asking a question that is VERY related to MB.
If I have to read all Linux documentation,
then all SuSE documentation ...
No, thanks.
I prefer to hope a sweet soul in this community shall tell me ...
"here is a URL" ...

"configuring SYSLOGS" :

>>> http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.eb.doc/an04230_.htm&acss=wmb121007

or "have a look at this script"
or "here you have a sample"

To say "read the books" .... is not very nice, sorry.
Sebastian.
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Tue Aug 26, 2008 1:48 pm    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

OK, people - here is the answer to my own question.
The question was "how to define MB log to SuSE under Linux",
as "syslog.conf" does not exists there.

And the answer is ...
(from PMR 37256,100,838, if you like the "direct" stream ...)

Just to have a better forum ....
Seb.


. . . . .


To configure the syslog for Message Broker on SLES-10 you need
to edit the file /etc/syslog-ng/syslog-ng.conf

You can then add the following lines:

# Define the filter for all user related messages
filter f_user { facility(user); };

# Define the log file you wish the syslog messages to be sent to
(adjusting permissions and name accordingly)

destination usermessages { file("/var/log/usermessages" fsync(yes)
perm(0644)); };

(Above entry should be typed in one line. splitted here to fit
the retain screen)

# Configure the user messages to be sent to this file (where the
source called src has been defined elsewhere - should be there already)

log { source(src); filter(f_user); destination(usermessages); };


--------------

Restart the syslog service via

/etc/init.d/syslog restart

If you then issue the command

logger -p user.info hello

you should see an entry for this appear in your chosen syslog file.
===================
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » where is MB log in LINUX (suse10) ?
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.