[syslog-ng] time_sleep()

Vaibhav Goel vgoel at cucbc.com
Tue Apr 25 22:52:30 CEST 2006


I can't post the whole thing since its too big but I am posting the
relevant portion of it:

options {
   sync (0);
   time_reopen (10);
   log_fifo_size (1000);
   long_hostnames (on);
   use_dns (yes);
   use_fqdn (no);
   create_dirs (no);
   owner(mdirect);
   group(mdirect);
   keep_hostname (yes);
   log_msg_size(20480);
};


The rest of the file is just a bunch of source, destination, filter and
log entries for various stuff

Also:
[root at clxd01md syslog-ng]# strings /sbin/syslog-ng  | grep time_sleep
time_sleep

So looks like there could be some time_sleep code in the binary at
least...



-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of John Morrissey
Sent: April 25, 2006 1:48 PM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] time_sleep()

On Tue, Apr 25, 2006 at 01:00:17PM -0700, Vaibhav Goel wrote:
> I did exactly that...
> 
> [root at clxd01md syslog-ng]# /etc/init.d/syslog-ng restart
> Shutting down system logger:                               [  OK  ]
> Starting system logger: syntax error at 20
> Parse error reading configuration file, exiting. (line 20)
>                                                            [FAILED]
> [root at clxd01md syslog-ng]# cat /etc/syslog-ng/syslog-ng.conf | grep
time
>    time_reopen (10);
>    time_sleep(30);
> 
> [root at clxd01md syslog-ng]# /sbin/syslog-ng -V
> syslog-ng 1.6.10
> 
> 
> Am I doing something wrong?

Strange. I backported the time_sleep change to the Debian package I'm
running (1.6.9) so I can't speak for the pristine 1.6.10 source, but
it's
been working fine for us. I glanced at the 1.6.10 tarball and see some
time_sleep code there. Could you post your entire syslog-ng.conf?

john
-- 
John Morrissey          _o            /\         ----  __o
jwm at horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
_______________________________________________
syslog-ng maillist  -  syslog-ng at lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html





More information about the syslog-ng mailing list