> 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 > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
the syntax is: --logger syslog:app,local6 where app is the prefix of the line in the syslog entry -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
