Syslog syntex
Here is a portion from syslog configuration file
... # Log cron stuff cron.* /var/log/cron # Everybody gets emergency messages *.emerg * .... Do anyonw know the meaning of the * ? What is the output file it represent? |
Hi,
As stated in syslog.conf's manpage: An asterisk ("*'') can be used to specify all facilities or all levels. Hope this helps. |
Quote:
using "*" instead of specifing a path to a log file. not sure it is valid, I will try it out when i'm free. |
Like this?
Code:
# Everybody gets emergency messages |
Hi,
Quote:
You can use the * in the 'action' field to tell syslog that it should output this message to all available (logged in) users, logs and (if defined) pipes. The manpage cuts it a bit short: An asterisk. Selected messages are written to all logged-in users.. Hope this helps. |
Quote:
|
All times are GMT -5. The time now is 06:32 PM. |