Operating System - HP-UX
1753797 Members
8822 Online
108805 Solutions
New Discussion юеВ

Re: Script to dump at syslog server

 
SOLVED
Go to solution
coollllllllllll
Regular Advisor

Re: Script to dump at syslog server

PFA shot

coollllllllllll
Regular Advisor

Re: Script to dump at syslog server

Thanks Matti .

Very much grateful to you.

Matti_Kurkela
Honored Contributor

Re: Script to dump at syslog server

If it still does not work, try replacing "*.*" with "*.debug" in /etc/syslog.conf, as I suggested on Thursday.

 

In an editor (vi or similar) or when viewed with "cat /etc/syslog.conf", the line should now look like this:

*.debug     @10.1.xx.xx

 And when viewed with "cat -t /etc/syslog.conf":

*.debug^I@10.1.xx.xx

 

The requirement to use TAB characters (those whitespace-like ^I:s) in /etc/syslog.conf is a very old Unix legacy. Newer syslog daemon replacements (like rsyslog or syslog-ng) are usually more forgiving in their configuration syntax.

 

Newer syslog daemons understand "*.*" to mean "all log facilities and all priority levels". But older daemons might require "*.debug", which means "all log facilities, priority 'debug' or above". Since 'debug' is the lowest priority level, it means exactly the same thing as "*.*". Apparently HP-UX syslog belongs to the "older" category...

MK
Dennis Handly
Acclaimed Contributor

Re: Script to dump at syslog server

>when viewed with "cat -t /etc/syslog.conf"

 

You can also see that in vi with:

:set list