public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
@ 2013-07-09 18:00 Jarry
  2013-07-10 10:15 ` Dan Johansson
  0 siblings, 1 reply; 7+ messages in thread
From: Jarry @ 2013-07-09 18:00 UTC (permalink / raw
  To: gentoo-user

Hi Gentoo-users,

today I updated syslog-ng on my server. When I checked config
file, I got this message:

# /etc/init.d/syslog-ng checkconfig
* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
WARNING: Your configuration file uses an obsoleted keyword, please
update your configuration; keyword='time_sleep', change='time_sleep()
has been deprecated since syslog-ng 3.3'                     [ ok ]
#

So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
but there is nothing about time_sleep() being obsolete
or deprecated. Quite on the contrary: it is listed as
valid option, and even mentioned in the chapter 17
"best practices" as a way of handling lots of parallel
connections.

So how is it then? Is time_sleep() supported and valid,
or obsolete/deprecated?

Jarry
-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
  2013-07-09 18:00 [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not? Jarry
@ 2013-07-10 10:15 ` Dan Johansson
  2013-07-10 10:30   ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Johansson @ 2013-07-10 10:15 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 1258 bytes --]

On 09.07.2013 20:00, Jarry wrote:
> Hi Gentoo-users,
> 
> today I updated syslog-ng on my server. When I checked config
> file, I got this message:
> 
> # /etc/init.d/syslog-ng checkconfig
> * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
> WARNING: Your configuration file uses an obsoleted keyword, please
> update your configuration; keyword='time_sleep', change='time_sleep()
> has been deprecated since syslog-ng 3.3'                     [ ok ]
> #
> 
> So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
> but there is nothing about time_sleep() being obsolete
> or deprecated. Quite on the contrary: it is listed as
> valid option, and even mentioned in the chapter 17
> "best practices" as a way of handling lots of parallel
> connections.
> 
> So how is it then? Is time_sleep() supported and valid,
> or obsolete/deprecated?

I also had some issues when I upgraded to 3.4.
Most of the warnings went away when I changed the version string in
syslog-ng.conf to "@version: 3.4".

Just my 2 cents (€)
-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

[-- Attachment #1.2: 0x2FB894AD.asc --]
[-- Type: application/pgp-keys, Size: 3477 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
  2013-07-10 10:15 ` Dan Johansson
@ 2013-07-10 10:30   ` Mick
  2013-07-10 14:32     ` Mick
  0 siblings, 1 reply; 7+ messages in thread
From: Mick @ 2013-07-10 10:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1360 bytes --]

On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
> On 09.07.2013 20:00, Jarry wrote:
> > Hi Gentoo-users,
> > 
> > today I updated syslog-ng on my server. When I checked config
> > file, I got this message:
> > 
> > # /etc/init.d/syslog-ng checkconfig
> > * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
> > WARNING: Your configuration file uses an obsoleted keyword, please
> > update your configuration; keyword='time_sleep', change='time_sleep()
> > has been deprecated since syslog-ng 3.3'                     [ ok ]
> > #
> > 
> > So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
> > but there is nothing about time_sleep() being obsolete
> > or deprecated. Quite on the contrary: it is listed as
> > valid option, and even mentioned in the chapter 17
> > "best practices" as a way of handling lots of parallel
> > connections.
> > 
> > So how is it then? Is time_sleep() supported and valid,
> > or obsolete/deprecated?
> 
> I also had some issues when I upgraded to 3.4.
> Most of the warnings went away when I changed the version string in
> syslog-ng.conf to "@version: 3.4".
> 
> Just my 2 cents (€)

The new version runs a couple of useful checks on the syntax of the 
configuration file - who would have thought that I had a duplicate directive 
in there!  O_o

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
  2013-07-10 10:30   ` Mick
@ 2013-07-10 14:32     ` Mick
  2013-07-10 15:00       ` Andrew Tselischev
  2013-07-10 15:07       ` Bruce Hill
  0 siblings, 2 replies; 7+ messages in thread
From: Mick @ 2013-07-10 14:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1625 bytes --]

On Wednesday 10 Jul 2013 11:30:08 Mick wrote:
> On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
> > On 09.07.2013 20:00, Jarry wrote:
> > > Hi Gentoo-users,
> > > 
> > > today I updated syslog-ng on my server. When I checked config
> > > file, I got this message:
> > > 
> > > # /etc/init.d/syslog-ng checkconfig
> > > * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
> > > WARNING: Your configuration file uses an obsoleted keyword, please
> > > update your configuration; keyword='time_sleep', change='time_sleep()
> > > has been deprecated since syslog-ng 3.3'                     [ ok ]
> > > #
> > > 
> > > So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
> > > but there is nothing about time_sleep() being obsolete
> > > or deprecated. Quite on the contrary: it is listed as
> > > valid option, and even mentioned in the chapter 17
> > > "best practices" as a way of handling lots of parallel
> > > connections.
> > > 
> > > So how is it then? Is time_sleep() supported and valid,
> > > or obsolete/deprecated?
> > 
> > I also had some issues when I upgraded to 3.4.
> > Most of the warnings went away when I changed the version string in
> > syslog-ng.conf to "@version: 3.4".
> > 
> > Just my 2 cents (€)
> 
> The new version runs a couple of useful checks on the syntax of the
> configuration file - who would have thought that I had a duplicate
> directive in there!  O_o

Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file ...

However, most parses it as text.  Has something changed in less recently?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
  2013-07-10 14:32     ` Mick
@ 2013-07-10 15:00       ` Andrew Tselischev
  2013-07-10 15:07       ` Bruce Hill
  1 sibling, 0 replies; 7+ messages in thread
From: Andrew Tselischev @ 2013-07-10 15:00 UTC (permalink / raw
  To: gentoo-user

On Wed, Jul 10, 2013 at 03:32:16PM +0100, Mick wrote:
> On Wednesday 10 Jul 2013 11:30:08 Mick wrote:
> > On Wednesday 10 Jul 2013 11:15:13 Dan Johansson wrote:
> > > On 09.07.2013 20:00, Jarry wrote:
> > > > Hi Gentoo-users,
> > > > 
> > > > today I updated syslog-ng on my server. When I checked config
> > > > file, I got this message:
> > > > 
> > > > # /etc/init.d/syslog-ng checkconfig
> > > > * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
> > > > WARNING: Your configuration file uses an obsoleted keyword, please
> > > > update your configuration; keyword='time_sleep', change='time_sleep()
> > > > has been deprecated since syslog-ng 3.3'                     [ ok ]
> > > > #
> > > > 
> > > > So I checked the new syslog-ng-ose-v3.4-guide-admin.pdf,
> > > > but there is nothing about time_sleep() being obsolete
> > > > or deprecated. Quite on the contrary: it is listed as
> > > > valid option, and even mentioned in the chapter 17
> > > > "best practices" as a way of handling lots of parallel
> > > > connections.
> > > > 
> > > > So how is it then? Is time_sleep() supported and valid,
> > > > or obsolete/deprecated?
> > > 
> > > I also had some issues when I upgraded to 3.4.
> > > Most of the warnings went away when I changed the version string in
> > > syslog-ng.conf to "@version: 3.4".
> > > 
> > > Just my 2 cents (€)
> > 
> > The new version runs a couple of useful checks on the syntax of the
> > configuration file - who would have thought that I had a duplicate
> > directive in there!  O_o
> 
> Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file ...
> 
> However, most parses it as text.  Has something changed in less recently?
> -- 
> Regards,
> Mick

No, I think it's syslog-ng that puts null bytes in the log at startup.
Now I wonder, was it intended to be a feature or what...


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
  2013-07-10 14:32     ` Mick
  2013-07-10 15:00       ` Andrew Tselischev
@ 2013-07-10 15:07       ` Bruce Hill
  2013-07-10 22:10         ` Mick
  1 sibling, 1 reply; 7+ messages in thread
From: Bruce Hill @ 2013-07-10 15:07 UTC (permalink / raw
  To: gentoo-user

On Wed, Jul 10, 2013 at 03:32:16PM +0100, Mick wrote:
> > 
> > The new version runs a couple of useful checks on the syntax of the
> > configuration file - who would have thought that I had a duplicate
> > directive in there!  O_o
> 
> Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file ...
> 
> However, most parses it as text.  Has something changed in less recently?

Did you try "less /var/log/syslog.log" ?
-- 
Happy Penguin Computers               >')
126 Fenco Drive                       ( \
Tupelo, MS 38801                       ^^
support@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.                                                                                                                                                          
Q: Why is top-posting such a bad thing?                                                                                                                                                                                        
A: Top-posting.                                                                                                                                                                                                                
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not?
  2013-07-10 15:07       ` Bruce Hill
@ 2013-07-10 22:10         ` Mick
  0 siblings, 0 replies; 7+ messages in thread
From: Mick @ 2013-07-10 22:10 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: Text/Plain, Size: 696 bytes --]

On Wednesday 10 Jul 2013 16:07:24 Bruce Hill wrote:
> On Wed, Jul 10, 2013 at 03:32:16PM +0100, Mick wrote:
> > > The new version runs a couple of useful checks on the syntax of the
> > > configuration file - who would have thought that I had a duplicate
> > > directive in there!  O_o
> > 
> > Hmm ... I just tried 'less /var/log/syslog' and I now get a binary file
> > ...
> > 
> > However, most parses it as text.  Has something changed in less recently?
> 
> Did you try "less /var/log/syslog.log" ?

# less /var/log/syslog.log
/var/log/syslog.log: No such file or directory


The output of my 'less /var/log/syslog' effort is attached as a screenshot.
-- 
Regards,
Mick

[-- Attachment #1.2: less_syslog.png --]
[-- Type: image/png, Size: 105011 bytes --]

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-10 22:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09 18:00 [gentoo-user] syslog-ng-3.4: time_sleep() deprecated or not? Jarry
2013-07-10 10:15 ` Dan Johansson
2013-07-10 10:30   ` Mick
2013-07-10 14:32     ` Mick
2013-07-10 15:00       ` Andrew Tselischev
2013-07-10 15:07       ` Bruce Hill
2013-07-10 22:10         ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox