Re: [CentOS] syslog - python

2008-06-09 Thread Jim Perrin
On Mon, Jun 9, 2008 at 8:31 AM, Tim Verhoeven <[EMAIL PROTECTED]> wrote: > As a sneak preview I can already tell you that CentOS 5.2 already will > have rsyslog instead of the old plain syslog. I know it's in 5.2, I just didn't realize it was replacing syslog already. Thanks for the heads up :-P

Re: [CentOS] syslog - python

2008-06-09 Thread Tim Verhoeven
On Mon, Jun 9, 2008 at 2:29 PM, Jim Perrin <[EMAIL PROTECTED]> wrote: > On Mon, Jun 9, 2008 at 8:18 AM, <[EMAIL PROTECTED]> wrote: >> Try syslog-ng... > > Not to disparage syslog-ng, but you may want to check out rsyslog. > It'll very likely be the default in centos6, and is currently the > defaul

Re: [CentOS] syslog - python

2008-06-09 Thread Jim Perrin
On Mon, Jun 9, 2008 at 8:18 AM, <[EMAIL PROTECTED]> wrote: > Try syslog-ng... > > It has much better filtering facilities.. Not to disparage syslog-ng, but you may want to check out rsyslog. It'll very likely be the default in centos6, and is currently the default in fedora. You can check the fed

Re: [CentOS] syslog - python

2008-06-09 Thread Jim Perrin
2008/6/9 David Hláčik <[EMAIL PROTECTED]>: > Thanks a lot, > > so how can i relalize it? :) Doesn't help you now, but rsyslog has the ability to filter by regular expression in addition to the usual log facilities, and rsyslog will be in 5.2 when it gets released. So if you can wait until 5.2 come

Re: [CentOS] syslog - python

2008-06-09 Thread centos
ect: Re: [CentOS] syslog - python David Hláèik wrote on Mon, 9 Jun 2008 13:12:13 +0200: > so how can i relalize it? :) Probably not at all. You would have to redirect .err or .warn for a facility, but this would redirect all other input to that channel as well. You can change facilities for some

Re: [CentOS] syslog - python

2008-06-09 Thread Kai Schaetzl
David Hláèik wrote on Mon, 9 Jun 2008 13:12:13 +0200: > so how can i relalize it? :) Probably not at all. You would have to redirect .err or .warn for a facility, but this would redirect all other input to that channel as well. You can change facilities for some applications, but I don't know if

Re: [CentOS] syslog - python

2008-06-09 Thread David Hláčik
PM GMT +01:00 Amsterdam / Berlin / Bern / > Rome / Stockholm / Vienna > Subject: [CentOS] syslog - python > > Hello , i want all my log messages from python to have in /var/log/python > > Now they are in /var/log/messages: > > Jun 9 12:10:51 sx1 kernel: klogd 1.4.1, log source

Re: [CentOS] syslog - python

2008-06-09 Thread centos
láčik" <[EMAIL PROTECTED]> To: "CentOS mailing list" Sent: Monday, June 9, 2008 12:14:26 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: [CentOS] syslog - python Hello , i want all my log messages from python to have in /var/log/python Now they are in

[CentOS] syslog - python

2008-06-09 Thread David Hláčik
Hello , i want all my log messages from python to have in /var/log/python Now they are in /var/log/messages: Jun 9 12:10:51 sx1 kernel: klogd 1.4.1, log source = /proc/kmsg started. Jun 9 12:11:01 sx1 python: MM_MEMBERS [it] Nothing to do. Jun 9 12:11:02 sx1 python: MM_MEMBERS [research] Nothi