Created On:  December 10, 2012

Problem:

I have a Unix (or Linux) system. How do I prevent messages that are written to the console log file in Enterprise Server from being written to the /var/log/messages file? Or, conversely, how do I enable messages that are being written to the console log file in Enterprise Server to also be written to the /var/log/messages file?

Resolution:

There is a configuration file in the $COBDIR/etc/cas directory named cas.cfg. It is a text file and can be edited with tools such as vi or vim. In that file, a global directive named "USESYSCON" can be set. If set to Y, it will enable the messages from the console log file to be written to /var/log/messages. To disable this, set that value to N.

After this file is modified, it will need to be re-read, which means that the region would need to be restarted or the system rebooted.

 

2597248