UNIX: Configuring the syslog daemon

On UNIX, all WebSphere Business Integration Message Broker messages (other than those generated by the command line utilities) are sent to the syslog, so it is useful to redirect user messages to a separate file.

Before you create a broker on UNIX, configure the syslog daemon to redirect user messages to a file called user.log, as follows:

  1. Log on as root.
  2. Enter the following commands to create a file called user.log:
    touch /var/adm/user.log 
    chown root::mqbrkrs /var/adm/user.log 
    chmod 750 /var/adm/user.log
  3. Add the following line to the /etc/syslog.conf file to redirect debug level messages to the file user.log:
    user.debug /var/adm/user.log
    You can add similar lines to direct information, warning, and error messages to user.log.
  4. Restart the syslog daemon.
    On AIX enter the command:
    refresh -s syslogd
    On HP-UX and Solaris, enter the command:
    kill -HUP 'cat /etc/syslog.pid'

For other syslog options, see the documentation for your UNIX platform.

Related concepts
Logs
Related tasks
Diagnosing errors
Using logs
Windows: Viewing the local error log
Related reference
Local error logs