Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Trigger custom syslog events

Name: Anonymous 2007-10-04 17:26

I need to manually dispatch syslog events with a custom format so that I can test and debug a syslog configuration and log parser. In other words I want an event of a specific facility with some custom text and data and I want to be able to fire it at a specific time so that I can test if the syslog daemon logs it correctly and the parser processes it correctly.

Does anyone know a tool that lets me do that?

Name: Anonymous 2007-10-04 19:40

Read the syslog(3) man page, and write the 10-line C program to do what you want.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List