|
Dear List:
I try to dump messages from my program to some file of
/var/log
by inserting macro into my program as follows :
#include<syslog.h>
#define debug openlog("my_program",LOG_PID,LOG_USER);
/
syslog(LOG_INFO,"I send
a message to log");
But nothing happen ,Could someone shed some light on it
,Thanks.
BestRegards'
Henry
|
- Re: [SLUG] ask /var/log/messages henry
- Re: [SLUG] ask /var/log/messages Daniel Stone
- Re: [SLUG] ask /var/log/messages Michael Still
- [SLUG] Re: ask /var/log/messages Angus Lees
