[uWSGI] syslog on LOG_LOCAL6

Marco De Paoli depaolim at gmail.com
Thu Oct 10 13:08:23 CEST 2013


Hi all,
I'm trying to send uwsgi log on syslog to a specific file

So I added the following directive in rsyslog configuration files:
local6.*       /var/log/myproject_uwsgi.log

And I tried variouos command line arguments on uwsgi run:
--logger syslog:local6
--log-syslog=local6
--log-syslog local6

But I can't see uwsgi process logs on that file
I find uwsgi messages only in the default file /var/log/messages

It seems to me that uwsgi does not consider the <facility> parameter
http://uwsgi-docs.readthedocs.org/en/latest/Logging.html#logging-to-syslog

This is my box:
# uname -a
Linux hostname 2.6.32-358.18.1.el6.centos.plus.i686 #1 SMP Wed Aug 28
14:12:36 UTC 2013 i686 i686 i386 GNU/Linux
# uwsgi --version
1.4.10

Am I missing something?
Is this a limitation of the 1.4.10 version? Must I use 1.9 version?

thanks in advance for any info,
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.unbit.it/pipermail/uwsgi/attachments/20131010/de5f3f87/attachment.html>


More information about the uWSGI mailing list