You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started using supervisord with docker.
I'm trying to use Nginx with some script that manages nginx restarts on configuration changes in a single container.
I'm trying to achieve that only nginx logs appear in the docker logs output.
So I would like docker to only collect the logs of nginx and not the logs of supervisord.
I haven't found any way to achieve this based on the documentation.
Despite that I provide the logfile in the [supervisord] section or on the command line when I start the container I also see the messages of supervisord besides the Nginx logs.
So supervisord logs to both it's log file and stdout and I would expect it to only log to the log files or at least being able to configure this.
Of course because of docker supervisord is started in foreground.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
This is kind of a feature request / question.
I just started using supervisord with docker.
I'm trying to use Nginx with some script that manages nginx restarts on configuration changes in a single container.
I'm trying to achieve that only nginx logs appear in the docker logs output.
So I would like docker to only collect the logs of nginx and not the logs of supervisord.
I haven't found any way to achieve this based on the documentation.
Despite that I provide the logfile in the [supervisord] section or on the command line when I start the container I also see the messages of supervisord besides the Nginx logs.
So supervisord logs to both it's log file and stdout and I would expect it to only log to the log files or at least being able to configure this.
Of course because of docker supervisord is started in foreground.
Thanks in advance.
The text was updated successfully, but these errors were encountered: