public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  which syslog?
@ 2007-05-30  7:37 Sven Köhler
  2007-05-30  9:42 ` [gentoo-user] " Anno v. Heimburg
  2007-05-30  9:46 ` [gentoo-user] " Alan McKinnon
  0 siblings, 2 replies; 8+ messages in thread
From: Sven Köhler @ 2007-05-30  7:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

Hi,

so until recently, i have been using sysklogd. So i had my auth.log,
mail.log, syslog, messages, etc. in /var/log.

Now i switched to syslog-ng. Now, only /var/log/messages gets filled
with all, that i would expect in auth.log or mail.log.

Maybe syslog-ng can be configured to behave like sysklogd. But i would
rather like a default-config that behaves like sysklogd.


So the next thing i could try is metalog.

Does it have a nice default config?



Regards,
  Sven


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

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

* [gentoo-user]  Re: which syslog?
  2007-05-30  7:37 [gentoo-user] which syslog? Sven Köhler
@ 2007-05-30  9:42 ` Anno v. Heimburg
  2007-05-30 10:17   ` Sven Köhler
  2007-05-30  9:46 ` [gentoo-user] " Alan McKinnon
  1 sibling, 1 reply; 8+ messages in thread
From: Anno v. Heimburg @ 2007-05-30  9:42 UTC (permalink / raw
  To: gentoo-user

Sven Köhler wrote:
> So the next thing i could try is metalog.
> 
> Does it have a nice default config?

I think so, but I did modify it to better suit my needs. It doesn't need
logrotate, which IMHO is a big plus, and I find its filters much easier to
set up than syslog-ng's. I am curious, though: If you like the sysklogd
layout to the point that you want to replicate it exactly in other log
daemons, why do you want to switch log daemons?

Anno.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  which syslog?
  2007-05-30  7:37 [gentoo-user] which syslog? Sven Köhler
  2007-05-30  9:42 ` [gentoo-user] " Anno v. Heimburg
@ 2007-05-30  9:46 ` Alan McKinnon
       [not found]   ` <f3jj2v$lvj$2@sea.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Alan McKinnon @ 2007-05-30  9:46 UTC (permalink / raw
  To: gentoo-user

On Wednesday 30 May 2007, Sven Köhler wrote:
> Hi,
>
> so until recently, i have been using sysklogd. So i had my auth.log,
> mail.log, syslog, messages, etc. in /var/log.
>
> Now i switched to syslog-ng. Now, only /var/log/messages gets filled
> with all, that i would expect in auth.log or mail.log.

Did you configure syslog-ng correctly?

It does not read /etc/syslog.conf, it 
reads /etc/syslog-ng/syslog-ng.conf for it's configuration. Chances are 
the default is to send most everything to messages

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: which syslog?
  2007-05-30  9:42 ` [gentoo-user] " Anno v. Heimburg
@ 2007-05-30 10:17   ` Sven Köhler
  2007-05-30 10:48     ` Galevsky
  2007-05-30 11:37     ` Anno v. Heimburg
  0 siblings, 2 replies; 8+ messages in thread
From: Sven Köhler @ 2007-05-30 10:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

I am curious, though: If you like the sysklogd
> layout to the point that you want to replicate it exactly in other log
> daemons, why do you want to switch log daemons?

Last sysklogd version if from 2001.
And portage contains 1.4.2_pre2007* versions. This was curious to me.

And on the other hand, other distributions don't use sysklogd anymore.
Instead they use syslog-ng, for example.

But i guess, they have a more suitable default setting. Everything going
to /var/log/messes is just to simple, i think. Actually i don't want the
layout to be like sysklogd. But i would like a little more complicated
default setting.


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

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

* Re: [gentoo-user] Re: which syslog?
  2007-05-30 10:17   ` Sven Köhler
@ 2007-05-30 10:48     ` Galevsky
  2007-05-30 11:37     ` Anno v. Heimburg
  1 sibling, 0 replies; 8+ messages in thread
From: Galevsky @ 2007-05-30 10:48 UTC (permalink / raw
  To: gentoo-user

http://gentoo-wiki.com/Syslog-ng

Is that kind of conf (described in Quick Start section) far away from
what you are looking for ?

Gal'

2007/5/30, Sven Köhler <skoehler@upb.de>:
> I am curious, though: If you like the sysklogd
> > layout to the point that you want to replicate it exactly in other log
> > daemons, why do you want to switch log daemons?
>
> Last sysklogd version if from 2001.
> And portage contains 1.4.2_pre2007* versions. This was curious to me.
>
> And on the other hand, other distributions don't use sysklogd anymore.
> Instead they use syslog-ng, for example.
>
> But i guess, they have a more suitable default setting. Everything going
> to /var/log/messes is just to simple, i think. Actually i don't want the
> layout to be like sysklogd. But i would like a little more complicated
> default setting.
>
>
>
--
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: which syslog?
  2007-05-30 10:17   ` Sven Köhler
  2007-05-30 10:48     ` Galevsky
@ 2007-05-30 11:37     ` Anno v. Heimburg
  1 sibling, 0 replies; 8+ messages in thread
From: Anno v. Heimburg @ 2007-05-30 11:37 UTC (permalink / raw
  To: gentoo-user

Sven Köhler wrote:

> But i guess, they have a more suitable default setting. Everything going
> to /var/log/messes is just to simple, i think. Actually i don't want the
> layout to be like sysklogd. But i would like a little more complicated
> default setting.

Okay, in that case, I'll say that metalog has a very-sensible-to-me default
setting, tweaking which I resisted for quite some time. What seems sensible
to me might be lunacy to you, however, so have a go at it and see for
yourself.

Anno.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: which syslog?
       [not found]   ` <f3jj2v$lvj$2@sea.gmane.org>
@ 2007-05-30 17:54     ` darren kirby
       [not found]       ` <465DBCC2.1090401@badapple.net>
  0 siblings, 1 reply; 8+ messages in thread
From: darren kirby @ 2007-05-30 17:54 UTC (permalink / raw
  To: gentoo-user

quoth the Sven Köhler:
> > It does not read /etc/syslog.conf, it
> > reads /etc/syslog-ng/syslog-ng.conf for it's configuration. Chances are
> > the default is to send most everything to messages
>
> Yes, that's the default.
>
> And actually, i don't want to configure all my machines. I would prefer
> a more suitable default config.

You're using the wrong OS then ;)

Is it really too hard to copy and paste the config from the quickstart guide 
that Galevsky posted a link to? 

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: which syslog?
       [not found]       ` <465DBCC2.1090401@badapple.net>
@ 2007-05-30 18:32         ` darren kirby
  0 siblings, 0 replies; 8+ messages in thread
From: darren kirby @ 2007-05-30 18:32 UTC (permalink / raw
  To: gentoo-user

quoth the kashani:
> darren kirby wrote:
> > quoth the Sven Köhler:
> >>> It does not read /etc/syslog.conf, it
> >>> reads /etc/syslog-ng/syslog-ng.conf for it's configuration. Chances are
> >>> the default is to send most everything to messages
> >>
> >> Yes, that's the default.
> >>
> >> And actually, i don't want to configure all my machines. I would prefer
> >> a more suitable default config.
> >
> > You're using the wrong OS then ;)
> >
> > Is it really too hard to copy and paste the config from the quickstart
> > guide that Galevsky posted a link to?
> >
> > -d
>
> 	Sane defaults, which Gentoo has most of the time, would be nice in this
> case. Oddly Gentoo used to include a nice syslog-ng.conf back in
> 2003/2004 which was dropped in favor of the current lobotomized conf file.
>
> kashani

Perhaps we need an enhancement bug. See if it gains any traction. I can only 
imagine that the syslog-ng dev(s) thinks /var/log/messages alone is the sane 
default. 

Oh, here it is:
http://bugs.gentoo.org/show_bug.cgi?id=108313

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2007-05-30 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-30  7:37 [gentoo-user] which syslog? Sven Köhler
2007-05-30  9:42 ` [gentoo-user] " Anno v. Heimburg
2007-05-30 10:17   ` Sven Köhler
2007-05-30 10:48     ` Galevsky
2007-05-30 11:37     ` Anno v. Heimburg
2007-05-30  9:46 ` [gentoo-user] " Alan McKinnon
     [not found]   ` <f3jj2v$lvj$2@sea.gmane.org>
2007-05-30 17:54     ` [gentoo-user] " darren kirby
     [not found]       ` <465DBCC2.1090401@badapple.net>
2007-05-30 18:32         ` darren kirby

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