Friday, August 12, 2005

syslog.conf wildcards

==================
TOPIC: syslog.conf wildcards

hi

i recently tried to change the syslog.conf file to have

*.* @remoteserver

where "remoteserver" is a remote host with syslog daemon running.
I restarted syslog by using kill -HUP "syslog pid".
When i use the logger command to insert a custom log message, the
message did not get transfered to "remoteserver".
But when i changed the syslog.conf to something like

auth.notice @remoteserver

and using the logger command after restarting syslog, it works. The
message did get transfered to "remoteserver".

why doesn't the wildcard work? Is there something else i need to do ?

thanks

eight02645999@yahoo.com wrote:
> i recently tried to change the syslog.conf file to have
> *.* @remoteserver

Solaris syslog doesn't allow *.*, try the following

*.debug @remoteserver

which should have the same effect (and remember to use TABs :-))

--
Geoff Lane
The attitude ``The computer said so, so it must be right''
is always amusing to the people who program them.

0 Comments:

Post a Comment

<< Home