[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]

Re: [CentOS] syslog - python

2008-06-09 Thread centos
PROTECTED] To: CentOS mailing list centos@centos.org 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 /var/log

Re: [CentOS] syslog - python

2008-06-09 Thread David Hláčik
] 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 = /proc/kmsg started. Jun 9 12:11:01 sx1 python: MM_MEMBERS [it] Nothing to do. Jun 9 12:11:02 sx1 python

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 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 comes

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 fedora

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 default in