[syslog-ng]syslog-ng restart: postfix/nqmgr logline missing on next received e-mail

Roberto Nibali ratz@tac.ch
Thu, 13 Feb 2003 14:34:15 +0100


>>The test program "syslog_test.c":
>>
>># include <syslog.h>
>>
>>int main( int argc, char *argv[] ) {
>>  int cnt=0;
>>
>>  openlog( argv[0], LOG_NDELAY|LOG_PID, LOG_DAEMON );
>>
>>  while( 1 ) {
>>    syslog( LOG_INFO, "%d", ++cnt );
>>    sleep( 5 );
>>  }
>>
>>  return( 0 );
>>}
> 
> 
> Is someone able to write a short program which opens a /dev/log and log
> through this channel all the time?

:) Look at the code above posted by Achim.

> Will dig now through RHL errata to check whether this problem is already
> filed.

Best regards,
Roberto Nibali, ratz
-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc