From dec6310b83363573d3a22b105571188e036c81b4 Mon Sep 17 00:00:00 2001 From: Brandon McClure Date: Tue, 27 Sep 2022 21:14:59 -0600 Subject: [PATCH] redirect the spawned process stdout and stderr to the container stdout --- init/supervisor_conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init/supervisor_conf b/init/supervisor_conf index 5d405b07..a350db4f 100644 --- a/init/supervisor_conf +++ b/init/supervisor_conf @@ -6,3 +6,9 @@ user=root autostart=true autorestart=true redirect_stderr=true +redirect_stdout=true +# https://stackoverflow.com/a/26897648 +stdout_logfile=/dev/fd/1 +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/fd/1 +stderr_logfile_maxbytes=0