Patrick Shanahan wrote:
* LLLActive@GMX.Net
[11-25-08 16:24]: ... I have some problems with a database. It reports into the messages log file. The kernel and critical messages now goes to kernel and critical log files respectively, and just to make sure nothing gets lost all messages also goes to the allmessages log file. If an emergency comes up, it "writes on the wall" to all logged into termenal session (not tested yet, but will be very helpful). Anyone seen this wall function in action? What does it look like?
Try it yourself and see: (as root) echo "This is a wall message" |wall
Cool, in the CLI and KDE! Say, in the syslog.conf: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Warnings in one file # *.=warning;*.=err -/var/log/warn <========== # *.crit /var/log/warn *.crit;kern.none /var/log/critical <========== kern.* /var/log/kernel # # save the rest in one file # *.*;mail.none;news.none;kern.none -/var/log/messages # # enable this, if you want to keep all messages # in one file *.* -/var/log/allmessages # Emergency messages will be displayed using wall # *.=emerg * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. What is the effect when a leading dash stands befpre the "-/var/log/warn" and none stand before "/var/log/critical"? 2. Will the /var/log/kernel file and /var/log/allmessages be created automatically, or is there a way to create syslogd files? :-) Al -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org