Linux systems: Configuring the syslog daemon
On Linux® systems, all IBM® Integration Bus messages (other than messages that are generated by the command-line utilities) are sent to the syslog subsystem.
About this task
The configuration steps you make to ensure that all relevant messages are displayed depend on the version of Linux that you are using. Refer to your operating system documentation relating to syslog (or syslog-ng for some versions of Linux) for information about how to configure the syslog subsystem.
IBM Integration Bus processes call the syslog commands
on the operating system but only those messages that correspond to
the filter defined for the output destination are displayed. IBM Integration Bus messages have:
- A facility of
user. - A level of
err,warn, orinfo, depending on the severity of the situation causing the message to be issued.
user facility for messages
of level info or greater. It is good practice to
write these messages to a separate file; there might be a high number
of them and they are more likely to be of interest to broker administrators
rather than to system administrators.The following line in a syslog.conf file causes all IBM Integration Bus events to be written to a file
/var/log/user.log
user.info /var/log/user.logNote: Ensure
that your log file permissions are set to
-rw-rw-rw. For
example:chmod 666 /var/log/user.logWhat to do next
See the documentation for your operating system.