Re: Syslog - doubt

2002-06-05 Thread Steven Smith
> If someone executes this program repeatedly > of from a loop, syslog would become too large. > Is something wrong? Can access to syslog > be restrcted? Good question. I can't see any ways to limit the rate at which a given user can send messages, and the sysklogd man page lists this as a flaw i

Re: Syslog - doubt

2002-06-05 Thread Jos Lemmerling
On Wed, 5 Jun 2002, Suriya Narayanan M S wrote: > Hi all, > The following program writes 2 messages to > syslog > /** Begin code ***/ > #include > int main() > { > openlog("Test of syslog",0,0); > syslog(LOG_EMERG,"Hello World\n"); > syslog(LOG_EMERG

Syslog - doubt

2002-06-05 Thread Suriya Narayanan M S
Hi all, The following program writes 2 messages to syslog /** Begin code ***/ #include int main() { openlog("Test of syslog",0,0); syslog(LOG_EMERG,"Hello World\n"); syslog(LOG_EMERG,"Good Bye World\n"); closelog(); return 0; } /