Hi everyone, i have just commited a new logger plugin using systemd journal
as the transport

https://github.com/unbit/uwsgi/tree/master/plugins/systemd_logger

It is extremely simple and could be used as a base to start experimenting
with uwsgi logging plugins.

1) build it:

python uwsgiconfig.py --plugin plugins/systemd_logger

2) start viewing the journal (i use json output)

sudo journalctl -o json -f

3) start uWSGI logging to the journal

./uwsgi --plugin systemd_logger -s :3032 --logger systemd

Note:

the plugin could be used even on uWSGI 1.3 and 1.2

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to