how to stop syslog messages to write console on solaris ?
+1
A:
you can edit the entries in the /etc/syslog.conf
to direct to another file eg /var/log/syslog
instead of /dev/console
. After that, issue kill -HUP <pid of syslog daemon>
to "reinitialize" the config
ghostdog74
2010-02-25 07:35:10
A:
svcadm disable svc:/system/system-log:default turned syslog off you need to also run svcadm enable svc:/system/system-log:default to turn it back on, after you made the right changes to /etc/syslog.conf so it does what you want. You can probably just comment out the line as it is also logged to file in /var/adm/messages.log
Turning syslog off is not a good idea.
ms4720
2010-03-02 04:18:51