-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fault tolerance #82
Fault tolerance #82
Conversation
Co-authored-by: Renzo Gambone <42361379+renzodgc@users.noreply.github.com>
[program:api] | ||
command=python3 run_processor_api.py --config %(ENV_CONFIG_FILE)s | ||
stdout_logfile=/dev/stdout | ||
stdout_logfile_maxbytes=0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maxbytes = 0 means unlimited? What if we put a limit here, say 200Mb for each log? If this is going to be running possibly for years then that would be good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The stdout_logfile_maxbytes
parameter defines the number of bytes required to rotate the log file (http://supervisord.org/logging.html#activity-log-rotation). The value 0 means the logfile is never rotated
.
We are using /dev/stdout
as logfile, so the rotation is not required.
No description provided.