Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   syslog - python (http://www.linux-archive.org/centos/103228-syslog-python.html)

"David Hláčik" 06-09-2008 10:14 AM

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: MM_MEMBERS [research] Nothing to do.
Jun 9 12:12:01 sx1 python: MM_MEMBERS [it] Nothing to do.
Jun 9 12:12:01 sx1 python: MM_MEMBERS [research] Nothing to do.

So i have added to the end of the syslog.conf


# Python
python.* /var/log/python

and restarted syslog,

then i have created /var/log/python and for sure addedd u+rw, g +rw,
o+rw permissions

But, nothing, /var/log/python is empty

What am i doing wrong? (Centos 5.1)

Thanks
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 03:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.