Problem:

Messages sent to rsyslog get truncated to ~2K bytes.  Only the messages sent by 
uWSGI are being truncated.  Messages sent to the same rsyslog socket by other 
applications, such as the logger command, are not truncated.

Environment:

        • Fedora Workstation 22
        • uWSGI 2.0.11.1 installed from dnf
        • uWSGI rsyslog logger pluggin installed from dnf
        • rsyslogd installed using dnf

Relevant rsyslogd.conf settings:

        $MaxMessageSize 300000  <— I put this at the top of the file, and based 
on the fact the “logger” command is able to send huge messages I can only 
assume this is working as expected.
        $ModLoad imuxsock
        $SystemLogSocketName /run/systemd/journal/syslog

Relevant myuwsgi.conf settings:

        plugins-dir = /usr/lib64/uwsgi
        plugin = python
        plugin = rsyslog
        rsyslog-packet-size = 300000
        logger = rsyslog:/run/systemd/journal/syslog,uwsgi_mgmt

Any thoughts or advice is greatly appreciated.

Thanks

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

Reply via email to