syslog - python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux