Re: syslog - python

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



man syslog.conf will explain ;)

auth, authpriv, cron, daemon, kern, lpr, mail, mark, news, security (same as auth), syslog, user, uucp and local0 through local7 are the supported facilyties.. python(.*) is not ;)

Good luck.

Cheers,

Bart

----- Original Message -----
From: "David Hláčik" <david@xxxxxxxxx>
To: "CentOS mailing list" <centos@xxxxxxxxxx>
Sent: Monday, June 9, 2008 12:14:26 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject:  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
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