Open didip opened 10 years ago
The supervisor-logging plugin does this. We can leave this issue open as a feature request.
Is supervisor-logging still the preferred method?
@kylegato It is the only method for remote syslog while this issue is still open.
@mnaberez Would PR be merged into master (provided that your quality standards are met of course)? We are using supervisord in our Docker environment and we might sponsor this feature.
Currently SyslogHandler uses syslog module which only logs to local syslog. See: https://github.com/Supervisor/supervisor/blob/master/supervisor/loggers.py#L339
Can it instead use logging.handlers.SysLogHandler so that it can send message to remote syslog server?
A lot of docker containers use supervisord to daemonize, being able to push syslog message remotely is greatly appreciated.