I found it usefull to use rsyslog for logging (datagram socket). It is least time consuming logging system for application: just send datagram to local unix socket. Dont know if uwsgi will send ERROR message to syslog socket though. (hint: google rsyslog logstash) If it is not i bet it is not hard to patch.
Offtopic: logstash is java (i vomit) 2013/9/2 Jason Swindle <[email protected]> > Howdy, > > Will this work for all logs that uWSGI creates, or just access logs? I > ask because NGINX is handling the access logs; and I only wish to know if > uWSGI errors--and then ship that off correctly. From what I can see, this > is access only. > > > Thanks, > > Jason! > > On 9/2/13 10:51 AM, "Roberto De Ioris" <[email protected]> wrote: > > > > >> Howdy, > >> > >> > >> I am loving that uWSGI can publish it's own logs to Redis, but sadly the > >> data is not formatted for LogStash to index correctly. Is there a a way > >> to make the log format JSON and in LogStash format? > >> > >> > >> Thanks!, > >> Jason Swindle > >> _______________________________________________ > >> uWSGI mailing list > >> [email protected] > >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > >> > > > >Request logs can be formatted: > > > >http://uwsgi-docs.readthedocs.org/en/latest/LogFormat.html > > > >[uwsgi] > >logformat = {"foo":"bar", "line":"%(method) %(uri) %(proto)"... } > > > >ugly but should works :) > > > >-- > >Roberto De Ioris > >http://unbit.it > >_______________________________________________ > >uWSGI mailing list > >[email protected] > >http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
