Hi, The way I went about finding a bit more information out was to write a small perl program that listened on port 514 and printed out anything that was forwarded to it. Basically, I believe the format is something like: <number>then the message here blah blah.... Looks like syslog uses the number to work out what the log message is. Below is a small list of a few: 38 auth.info 32 auth.none 34 auth.crit 33 auth.alert 39 auth.debug 37 auth.notice 35 auth.err 32 auth.emerg 36 auth.warn 32 auth.panic 35 auth.error 78 cron.info 72 cron.none So, write a perl script to send the information to the log server. Mail me if you want the full list of numbers. I probably have a perl script lying around some where too. Cheers, John
John wrote:
Basically, I believe the format is something like:
<number>then the message here blah blah....
Mail me if you want the full list of numbers. I probably have a perl script lying around some where too.
Yes, i want the full list and the script, please. Regards, -- Florin Andrei mailto:florin@linuxstart.com http://members.linuxstart.com/~florin/ tel: +40-93-261162
On 11 May, John wrote:
<number>then the message here blah blah....
Looks like syslog uses the number to work out what the log message is. Below is a small list of a few:
38 auth.info 32 auth.none 34 auth.crit 33 auth.alert 39 auth.debug 37 auth.notice 35 auth.err 32 auth.emerg 36 auth.warn 32 auth.panic 35 auth.error 78 cron.info 72 cron.none
Actually, that's just the priority ored with the facility. Check syslog.h for a full list. -- Doug Nazar Dragon Computer Consultants Inc. Tel: (416) 708-1578 Fax: (416) 708-8081
On 11 May, John wrote:
<number>then the message here blah blah....
Looks like syslog uses the number to work out what the log message is. Below is a small list of a few:
38 auth.info 32 auth.none 34 auth.crit 33 auth.alert 39 auth.debug 37 auth.notice 35 auth.err 32 auth.emerg 36 auth.warn 32 auth.panic 35 auth.error 78 cron.info 72 cron.none
Actually, that's just the priority ored with the facility. Check syslog.h for a full list. -- Doug Nazar Dragon Computer Consultants Inc. Tel: (416) 708-1578 Fax: (416) 708-8081
participants (3)
-
Florin Andrei
-
John
-
nazard@dragoninc.on.ca