Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
Date: Wed, 10 Jul 2013 10:30:38
Message-Id: 201307101130.18950.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not? by Dan Johansson
1 On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
2 > On 09.07.2013 20:00, Jarry wrote:
3 > > Hi Gentoo-users,
4 > >
5 > > today I updated syslog-ng on my server. When I checked config
6 > > file, I got this message:
7 > >
8 > > # /etc/init.d/syslog-ng checkconfig
9 > > * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
10 > > WARNING: Your configuration file uses an obsoleted keyword, please
11 > > update your configuration; keyword='time_sleep', change='time_sleep()
12 > > has been deprecated since syslog-ng 3.3' [ ok ]
13 > > #
14 > >
15 > > So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
16 > > but there is nothing about time_sleep() being obsolete
17 > > or deprecated. Quite on the contrary: it is listed as
18 > > valid option, and even mentioned in the chapter 17
19 > > "best practices" as a way of handling lots of parallel
20 > > connections.
21 > >
22 > > So how is it then? Is time_sleep() supported and valid,
23 > > or obsolete/deprecated?
24 >
25 > I also had some issues when I upgraded to 3.4.
26 > Most of the warnings went away when I changed the version string in
27 > syslog-ng.conf to "@version: 3.4".
28 >
29 > Just my 2 cents (€)
30
31 The new version runs a couple of useful checks on the syntax of the
32 configuration file - who would have thought that I had a duplicate directive
33 in there! O_o
34
35 --
36 Regards,
37 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not? Mick <michaelkintzios@×××××.com>