On Fri, Mar 18, 2011 at 14:30, Rainer Gerhards wrote:
> On 03/18/2011 01:53 PM, Kay Sievers wrote:
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d90c8d9cde929cbc575098e825d7c29d9f45054
>
> That's what I understood and what I based my proposal on. In that case,
>
...@lists.freedesktop.org
Subject: Re: [systemd-devel] systemd-logger and external syslog daemon
On Thu, 17.03.11 08:38, Rainer Gerhards (rgerha...@hq.adiscon.com)
wrote:
You mean a new udev/dracut/systemd on an old kernel? The messages
they
print would look a bit weird if they are used together
>> de...@lists.freedesktop.org
>> Subject: Re: [systemd-devel] systemd-logger and external syslog daemon
>>
>> On Thu, 17.03.11 08:38, Rainer Gerhards (rgerha...@hq.adiscon.com)
>> wrote:
>>
>> > > You mean a new udev/dracut/systemd on an old kernel? The messa
> -Original Message-
> From: Lennart Poettering [mailto:lenn...@poettering.net]
> Sent: Thursday, March 17, 2011 10:38 PM
> To: Rainer Gerhards
> Cc: Michael Biebl; Andrey Borzenkov; systemd-
> de...@lists.freedesktop.org
> Subject: Re: [systemd-devel] systemd-logge
On Thu, 17.03.11 08:38, Rainer Gerhards (rgerha...@hq.adiscon.com) wrote:
> > You mean a new udev/dracut/systemd on an old kernel? The messages they
> > print would look a bit weird if they are used together with log msg
> > timestamping the way the kernel does it, since the kernel doesn't
> > rec
> -Original Message-
> From: Lennart Poettering [mailto:lenn...@poettering.net]
> Sent: Thursday, March 17, 2011 12:31 AM
> To: Michael Biebl
> Cc: Andrey Borzenkov; systemd-devel@lists.freedesktop.org; Rainer
> Gerhards
> Subject: Re: [systemd-devel] systemd-logge
On Wed, 16.03.11 07:18, Michael Biebl (mbi...@gmail.com) wrote:
>
> 2011/3/16 Lennart Poettering :
> > On Sat, 12.03.11 16:31, Andrey Borzenkov (arvidj...@mail.ru) wrote:
> >
>
> >>
> >> Attached patch preserves full syslog facility marker and simply emits
> >> it back. So userspace is free to f
On Wed, Mar 16, 2011 at 07:18, Michael Biebl wrote:
> 2011/3/16 Lennart Poettering :
>> On Sat, 12.03.11 16:31, Andrey Borzenkov (arvidj...@mail.ru) wrote:
>>>
>>> Attached patch preserves full syslog facility marker and simply emits
>>> it back. So userspace is free to feed any facility it deems
2011/3/16 Lennart Poettering :
> On Sat, 12.03.11 16:31, Andrey Borzenkov (arvidj...@mail.ru) wrote:
>
>>
>> Attached patch preserves full syslog facility marker and simply emits
>> it back. So userspace is free to feed any facility it deems
>> appropriate, not only LOG_USER.
>
> This is a good ap
On Sat, 12.03.11 16:31, Andrey Borzenkov (arvidj...@mail.ru) wrote:
> > Basically what Kay suggested.
> >
> > Facilities might not be the most powerful idea ever invented, but they
> > are useful to distuingish kernel from userspace messages, as there is
> > LOG_KERNEL for the former and all other
On Fri, Mar 11, 2011 at 8:35 PM, Lennart Poettering
wrote:
> On Fri, 11.03.11 19:41, Andrey Borzenkov (arvidj...@mail.ru) wrote:
>
>> Well ... the problem really is that format is supposed to be single
>> printable character, which does not really support bit operations and
>> such. What about att
On Fri, 11 Mar 2011 17:01:46 +0100
Lennart Poettering wrote:
> On Fri, 11.03.11 08:49, Mike Kazantsev (mk.frag...@gmail.com) wrote:
>
> > > Hmm, that is borked. We do provider proper error levels when we write
> > > things to kmsg. This must get lost later on. But we do strip the
> > > facility,
On Fri, 11.03.11 19:41, Andrey Borzenkov (arvidj...@mail.ru) wrote:
> Well ... the problem really is that format is supposed to be single
> printable character, which does not really support bit operations and
> such. What about attached (completely untested) path - which adds
> marker to anythin
On Fri, Mar 11, 2011 at 17:47, Rainer Gerhards wrote:
>> From: Andrey Borzenkov [mailto:arvidj...@mail.ru]
>> Well ... the problem really is that format is supposed to be single
> printable
>> character, which does not really support bit operations and such. What
> about
>> attached (completely u
> -Original Message-
> From: Andrey Borzenkov [mailto:arvidj...@mail.ru]
> Sent: Friday, March 11, 2011 5:42 PM
> To: Lennart Poettering
> Cc: Michael Biebl; systemd-devel@lists.freedesktop.org; Rainer Gerhards
> Subject: Re: [systemd-devel] systemd-logger and exte
On Fri, Mar 11, 2011 at 7:11 PM, Lennart Poettering
wrote:
> On Fri, 11.03.11 08:45, Michael Biebl (mbi...@gmail.com) wrote:
>
>>
>> 2011/3/11 Rainer Gerhards :
>> >
>> > So isn't that already a solution?
>> >
>>
>> The problem with PRINTK_TIME afaics is that it needs to be turned on
>> explicitly
> -Original Message-
> From: Lennart Poettering [mailto:lenn...@poettering.net]
> Sent: Friday, March 11, 2011 5:29 PM
> To: Rainer Gerhards
> Cc: Andrey Borzenkov; Michael Biebl; Mike Kazantsev; systemd-
> de...@lists.freedesktop.org
> Subject: Re: [systemd-deve
On Fri, 11.03.11 17:22, Rainer Gerhards (rgerha...@hq.adiscon.com) wrote:
> > > Systemd shuffles the system log socket to the kernel log. That is
> > > nice, because we have logging available right from the system start.
> > > However, in rsyslog users can configure different rules based on the
>
> -Original Message-
> From: Lennart Poettering [mailto:lenn...@poettering.net]
> Sent: Friday, March 11, 2011 5:22 PM
> To: Rainer Gerhards
> Cc: Michael Biebl; Andrey Borzenkov; Mike Kazantsev; systemd-
> de...@lists.freedesktop.org
> Subject: Re: [systemd-deve
On Fri, 11.03.11 17:08, Rainer Gerhards (rgerha...@hq.adiscon.com) wrote:
> > > Lennart recommended that to me and I had some code in place to do it.
> > > However, at that time this did not work because the kernel did not
> > > record that timestamp. This was added a while later, but I did not ye
> -Original Message-
> From: Lennart Poettering [mailto:lenn...@poettering.net]
> Sent: Friday, March 11, 2011 5:17 PM
> To: Rainer Gerhards
> Cc: Andrey Borzenkov; Michael Biebl; Mike Kazantsev; systemd-
> de...@lists.freedesktop.org
> Subject: Re: [systemd-deve
On Fri, 11.03.11 09:55, Rainer Gerhards (rgerha...@hq.adiscon.com) wrote:
> > Sounds quite reasonable :)
> >
> > What would be also really nice - some systemd specific marker so
> > rsyslog could extract syslogd messages from kmsg. Not sure if it is
> > really doable without some gross kernel hac
On Fri, 11.03.11 10:37, Andrey Borzenkov (arvidj...@mail.ru) wrote:
>
> On Fri, Mar 11, 2011 at 10:03 AM, Michael Biebl wrote:
> > For me the log messages actually look slightly different, as I also
> > get the kernel timestamp and I also noticed a different problem:
> >
> > Mar 11 07:56:27 plut
top.org
> > Subject: Re: [systemd-devel] systemd-logger and external syslog daemon
> >
> > 2011/3/11 Rainer Gerhards :
> > >
> > > So isn't that already a solution?
> > >
> >
> > The problem with PRINTK_TIME afaics is that it needs to b
On Fri, 11.03.11 08:45, Michael Biebl (mbi...@gmail.com) wrote:
>
> 2011/3/11 Rainer Gerhards :
> >
> > So isn't that already a solution?
> >
>
> The problem with PRINTK_TIME afaics is that it needs to be turned on
> explicitly whereas I'd expect SO_TIMESTAMP will be available always
> (if the k
> -Original Message-
> From: Lennart Poettering [mailto:lenn...@poettering.net]
> Sent: Friday, March 11, 2011 5:06 PM
> To: Rainer Gerhards
> Cc: Michael Biebl; Andrey Borzenkov; Mike Kazantsev; systemd-
> de...@lists.freedesktop.org
> Subject: Re: [systemd-deve
On Fri, 11.03.11 08:09, Rainer Gerhards (rgerha...@hq.adiscon.com) wrote:
> > As you can see, when rsyslog starts up and flushes the kmsg queue, the
> > log messages all have the same timestamp (Mar 11 07:56:27) and they
> > come after the rsyslog startup message, although they were logged
> > bef
On Fri, 11.03.11 08:03, Michael Biebl (mbi...@gmail.com) wrote:
>
> 2011/2/26 Andrey Borzenkov :
> > On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev
> > wrote:
> >>
> >> I've recently deployed systemd on a machine that uses some syslog
> >> monitoring software and the software went nuts becaus
On Fri, 11.03.11 08:49, Mike Kazantsev (mk.frag...@gmail.com) wrote:
> > Hmm, that is borked. We do provider proper error levels when we write
> > things to kmsg. This must get lost later on. But we do strip the
> > facility, so that it gets replaced by "kernel", that is true.
> >
> > The only re
> -Original Message-
> From: Andrey Borzenkov [mailto:arvidj...@mail.ru]
> Sent: Friday, March 11, 2011 11:01 AM
> To: Rainer Gerhards
> Cc: Michael Biebl; Mike Kazantsev; systemd-devel@lists.freedesktop.org
> Subject: Re: [systemd-devel] systemd-logger and exte
> -Original Message-
> From: Andrey Borzenkov [mailto:arvidj...@mail.ru]
> Sent: Friday, March 11, 2011 8:38 AM
> To: Michael Biebl
> Cc: Mike Kazantsev; systemd-devel@lists.freedesktop.org; Rainer
> Gerhards
> Subject: Re: [systemd-devel] systemd-logger and external
> -Original Message-
> From: Michael Biebl [mailto:mbi...@gmail.com]
> Sent: Friday, March 11, 2011 8:45 AM
> To: Rainer Gerhards
> Cc: systemd-devel@lists.freedesktop.org
> Subject: Re: [systemd-devel] systemd-logger and external syslog daemon
>
> 2011/3/11 Rain
> -Original Message-
> From: Michael Biebl [mailto:mbi...@gmail.com]
> Sent: Friday, March 11, 2011 8:20 AM
> To: Rainer Gerhards
> Cc: Andrey Borzenkov; Mike Kazantsev; systemd-
> de...@lists.freedesktop.org
> Subject: Re: [systemd-devel] systemd-logger and e
> -Original Message-
> From: Michael Biebl [mailto:mbi...@gmail.com]
> Sent: Friday, March 11, 2011 8:04 AM
> To: Andrey Borzenkov
> Cc: Mike Kazantsev; systemd-devel@lists.freedesktop.org; Rainer
> Gerhards
> Subject: Re: [systemd-devel] systemd-logger and e
ner
>> Gerhards
>> Subject: Re: [systemd-devel] systemd-logger and external syslog daemon
>>
>> On Fri, Mar 11, 2011 at 10:03 AM, Michael Biebl
>> wrote:
>> > For me the log messages actually look slightly different, as I also
>> > get the kernel tim
2011/3/11 Rainer Gerhards :
>
> So isn't that already a solution?
>
The problem with PRINTK_TIME afaics is that it needs to be turned on
explicitly whereas I'd expect SO_TIMESTAMP will be available always
(if the kernel is recent enough)?
In any case you'd need to interpret that data on the rsysl
On Fri, Mar 11, 2011 at 10:03 AM, Michael Biebl wrote:
> For me the log messages actually look slightly different, as I also
> get the kernel timestamp and I also noticed a different problem:
>
> Mar 11 07:56:27 pluto kernel: imklog 5.7.8, log source = /proc/kmsg started.
> Mar 11 07:56:27 pluto r
2011/3/11 Rainer Gerhards :
>> -Original Message-
>> From: Michael Biebl [mailto:mbi...@gmail.com]
>> Sent: Friday, March 11, 2011 8:04 AM
>> Mar 11 07:56:27 pluto kernel: [ 5921.140864] michael[25078]: baz
>>
>> As you can see, when rsyslog starts up and flushes the kmsg queue, the
>> log
2011/2/26 Andrey Borzenkov :
> On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev wrote:
>>
>> I've recently deployed systemd on a machine that uses some syslog
>> monitoring software and the software went nuts because messages from
>> systemd logger were inconsistent with other logging - they all l
On Thu, 10 Mar 2011 22:01:39 +0100
Lennart Poettering wrote:
> On Wed, 23.02.11 12:48, Mike Kazantsev (mk.frag...@gmail.com) wrote:
>
> > Good day,
> >
> >
> > I've recently deployed systemd on a machine that uses some syslog
> > monitoring software and the software went nuts because messages
On Thu, 10.03.11 23:08, Mike Kazantsev (mk.frag...@gmail.com) wrote:
> On Thu, 10 Mar 2011 19:14:29 +0300
> Andrey Borzenkov wrote:
>
> > On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev
> > wrote:
> >
> > > How the kmsg-syslogd->rsyslog migration (for systemd output) is supposed
> > > to wor
On Wed, 23.02.11 12:48, Mike Kazantsev (mk.frag...@gmail.com) wrote:
> Good day,
>
>
> I've recently deployed systemd on a machine that uses some syslog
> monitoring software and the software went nuts because messages from
> systemd logger were inconsistent with other logging - they all look
>
On Thu, 10 Mar 2011 19:14:29 +0300
Andrey Borzenkov wrote:
> On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev wrote:
>
> > How the kmsg-syslogd->rsyslog migration (for systemd output) is supposed
> > to work?
> >
>
> As I just went through all of it ...
>
> you absolutely need rsyslog that su
On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev wrote:
> How the kmsg-syslogd->rsyslog migration (for systemd output) is supposed
> to work?
>
As I just went through all of it ...
you absolutely need rsyslog that supports passing sockets from
systemd. Otherwise it is race condition - rsyslog w
On Wed, Feb 23, 2011 at 10:48 AM, Mike Kazantsev wrote:
> Good day,
>
>
> I've recently deployed systemd on a machine that uses some syslog
> monitoring software and the software went nuts because messages from
> systemd logger were inconsistent with other logging - they all look
> like this:
>
>
On Wed, 23 Feb 2011 12:48:10 +0500
Mike Kazantsev wrote:
> There seem to be some problems (timeout) on shutdown though (which I
> need to investigate, but pretty sure something hangs on /dev/log), so
> this doesn't seem to be a perfect solution either.
Scratch that, I just forgot to add Conflict
Good day,
I've recently deployed systemd on a machine that uses some syslog
monitoring software and the software went nuts because messages from
systemd logger were inconsistent with other logging - they all look
like this:
kernel.warning kernel[-]: process[pid]: message contents
Thus, regard
47 matches
Mail list logo