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
Description: I’m running multiple Flask services inside a Docker container and using Supervisor to manage them. I have configured Supervisor to capture the standard output (stdout) and error output (stderr) by specifying log file paths in the Supervisor configuration, like this:
However, I’ve noticed that the print statements within the Flask application are not showing up in the log file /var/log/flaskapp.out.log. I expected the content from print to be captured in the log file, but it doesn't appear there.
Is there any additional configuration required to ensure that print statements show up in the log files?
Any help or insights would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
Hello everyone!
Environment:
Docker
Supervisor managing multiple Flask services
Description: I’m running multiple Flask services inside a Docker container and using Supervisor to manage them. I have configured Supervisor to capture the standard output (stdout) and error output (stderr) by specifying log file paths in the Supervisor configuration, like this:
However, I’ve noticed that the print statements within the Flask application are not showing up in the log file /var/log/flaskapp.out.log. I expected the content from print to be captured in the log file, but it doesn't appear there.
Is there any additional configuration required to ensure that print statements show up in the log files?
Any help or insights would be greatly appreciated!
The text was updated successfully, but these errors were encountered: