|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
where is MB log in LINUX (suse10) ? |
« View previous topic :: View next topic » |
Author |
Message
|
sebastia |
Posted: Tue Jul 22, 2008 12:26 pm Post subject: where is MB log in LINUX (suse10) ? |
|
|
 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 |
|
 |
sridhsri |
Posted: Tue Jul 22, 2008 5:51 pm Post subject: |
|
|
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 |
|
 |
sebastia |
Posted: Wed Jul 23, 2008 7:27 am Post subject: |
|
|
 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 |
|
 |
sebastia |
Posted: Tue Aug 26, 2008 1:48 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|