Posted: Wed Jan 28, 2009 5:10 pm Post subject: Message Broker logging
Centurion
Joined: 04 May 2007 Posts: 142
Hi,
I notice that Message Broker logs to /var/log/messages. This file is usually only readable by root. Is there any way to change or customize where message broker logs?
thanks! _________________ MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Posted: Wed Jan 28, 2009 7:15 pm Post subject: Re: Message Broker logging
Apprentice
Joined: 18 Nov 2003 Posts: 38 Location: Zurich, Switzerland
rmah wrote:
Hi,
I notice that Message Broker logs to /var/log/messages. This file is usually only readable by root. Is there any way to change or customize where message broker logs?
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Having /var/log/message readable by 'non root' users or (typically) 'oper' group uses may be against the security policies (or the local sysadmin's fiefdom)for your organisation.
Ok, it shouldn't matter on Dev systems but I have come accross companies that refuse event to let non root users see the contents even on Dev boxes.
This is a clear argument for having proper exception handling built into every flow from day 1. With the advent of file output nodes in the V6.1 base product, you can write exceptions to file in places /var/tmp which (unless the security people are complete sadists and many of us have met these people from tile to time ) should be readable by everyone.
If you can't read them from there, you will have to request the creation of a directory somewhere (with appropriate group read/write privs) that will allow you to do read the output. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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