Skip to content

syslog configuration breaks log viewing interfaces #182

@btubbs

Description

@btubbs

If you configure a program to log to 'syslog' instead of providing a file path, then you are no longer able to view logs in the web interface, XML RPC interface, or supervisorctl shell. Ouch!

I suggest changing the syslog configuration method to be something you can do in addition to normal file logging instead of it being an exclusive alternative. Then Supervisor's log streaming features should be able to work normally.

So let's have two new program config options:

stdout_syslog
stderr_syslog

Setting them to true will make log messages go to syslog in addition to going to files specified by stdout_logfile and stderr_logfile.

We can continue to support setting stdout_logfile and stderr_logfile to 'syslog', so as to avoid breaking users' existing configurations, though for cleanliness I think it'd be good to raise a deprecation warning.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions