Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 15:44, Leonid Isaev (lis...@umail.iu.edu) wrote: > Hi, > > On Thu, Aug 07, 2014 at 06:11:39PM +, "Jóhann B. Guðmundsson" wrote: > > > > On 08/07/2014 04:12 PM, Leonid Isaev wrote: > > >>>Perhaps understanding why you're allergic to the journal would help in > > >>>figuring o

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 18:11, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: > Arguably one of journals major/only shortcoming compared to what's > out there is it's lack the ability to send syslog messages over the > syslog network protocol but I think it's just a matter of time until > it does, sin

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 14:34, Jon Stanley (jonstan...@gmail.com) wrote: > > On Thu, Aug 7, 2014 at 2:06 PM, Frantisek Hanzlik wrote: > > It's good that I have no /var/log/journal/* files, but > > - journald is still runnig (this isn't too imporatant, but when it > >is possible work without it, it

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-13 Thread Lennart Poettering
On Thu, 07.08.14 14:06, Frantisek Hanzlik (fra...@hanzlici.cz) wrote: > Hi, I just install Fedora 20 (with systemd 208) and want log, > if possible, without journald, only to rsyslog. Why if I may ask? Trying to do that is usually more a sign of misconceptions about systemd or the journal than r

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2014 10:42 PM, Leonid Isaev wrote: Thanks for letting me know aboout this work, but from the above description it seems rather limited. I brought up the log-levels only as an example. In practice one needs to be able to filter using_any_ message attribute. I just used the example to

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Leonid Isaev
Hi, On Thu, Aug 07, 2014 at 09:44:47PM +, "Jóhann B. Guðmundsson" wrote: > > So basically you want to log everything to /run ( volatile ) and filter out > everything above a certain log-level and store that persistent in it's own > journal > ( basically store the output from this "journalctl

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2014 08:41 PM, Leonid Isaev wrote: Sorry for a long reply... No problem I needed to see how you were thinking/doing this. So basically you want to log everything to /run ( volatile ) and filter out everything above a certain log-level and store that persistent in it's own journal

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Leonid Isaev
On Thu, Aug 07, 2014 at 08:01:31PM +, "Jóhann B. Guðmundsson" wrote: > Give me an actual working example how this is solved using rsyslog/syslog-ng > filters A quick (and probably dirty) way with syslog-ng: -- % grep dnsmasq /etc/syslog-ng/syslog-ng.conf destination d_dnsmasq { file("/run

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2014 07:32 PM, Mantas Mikulėnas wrote: On Aug 7, 2014 9:11 PM, Jóhann B. Guðmundsson > wrote: > Arguably one of journals major/only shortcoming compared to what's out there is it's lack the ability to send syslog messages over the syslog network protocol bu

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2014 07:44 PM, Leonid Isaev wrote: Hi, On Thu, Aug 07, 2014 at 06:11:39PM +, "Jóhann B. Guðmundsson" wrote: On 08/07/2014 04:12 PM, Leonid Isaev wrote: Perhaps understanding why you're allergic to the journal would help in figuring out solutions to the actual underlying problem.

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Leonid Isaev
Hi, On Thu, Aug 07, 2014 at 06:11:39PM +, "Jóhann B. Guðmundsson" wrote: > > On 08/07/2014 04:12 PM, Leonid Isaev wrote: > >>>Perhaps understanding why you're allergic to the journal would help in > >>>figuring out solutions to the actual underlying problem. > >There is nothing wrong with the

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Mantas Mikulėnas
On Aug 7, 2014 9:11 PM, Jóhann B. Guðmundsson wrote: > Arguably one of journals major/only shortcoming compared to what's out there is it's lack the ability to send syslog messages over the syslog network protocol but I think it's just a matter of time until it does, since it's arguably unavoidabl

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2014 04:12 PM, Leonid Isaev wrote: >Perhaps understanding why you're allergic to the journal would help in >figuring out solutions to the actual underlying problem. There is nothing wrong with the journald per se, but it's not a replacement for the classic syslog Yes it is. And ther

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Leonid Isaev
On Thu, Aug 07, 2014 at 02:34:20PM +0200, Jon Stanley wrote: > I'm not 100% sure what happens if there is a backing store, > i.e. does it still store in memory? No. > Perhaps understanding why you're allergic to the journal would help in > figuring out solutions to the actual underlying problem.

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Leonid Isaev
Hi, On Thu, Aug 07, 2014 at 02:06:07PM +0200, Frantisek Hanzlik wrote: > > '/etc/systemd/system.conf': > [Manager] > LogTarget=syslog-or-kmsg > DefaultStandardOutput=syslog Leave 'LogTarget=' to its default value (journal-or-kmsg). > It's good that I have no /var/log/journal/* files, but > - jo

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jon Stanley
On Thu, Aug 7, 2014 at 2:06 PM, Frantisek Hanzlik wrote: > It's good that I have no /var/log/journal/* files, but > - journald is still runnig (this isn't too imporatant, but when it >is possible work without it, it will be better) Why do you want this? As Johann very tersely replied, it's no

Re: [systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Jóhann B. Guðmundsson
On 08/07/2014 12:06 PM, Frantisek Hanzlik wrote: Hi, I just install Fedora 20 (with systemd 208) and want log, if possible, without journald, only to rsyslog. It's not possible. JBG ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] right way to log to rsyslog/syslog only?

2014-08-07 Thread Frantisek Hanzlik
Hi, I just install Fedora 20 (with systemd 208) and want log, if possible, without journald, only to rsyslog. I have this configuration: 'systemd.log_target=syslog-or-kmsg' at kernel command line '/etc/systemd/system.conf': [Manager] LogTarget=syslog-or-kmsg DefaultStandardOutput=syslog '/etc/