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
{{ message }}
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
I would like to have log_path configurable as a variable, and have access to some of the logging features consul provides. The three use cases I can think of are:
Users don't want to manually configure logging . So, lets just turn it on by default. If they want to change it, they can. Reading the startup script will make it clear.
If this module is used in conjunction with splunk, the endpoint variables for location can be easily interpolated.
Changing default configuration for log location to make troubleshooting easier.
Considerations
I'd like a sane default like /opt/consul/logs/ as a path, that is only able to be written to by the Consul user, with read for consul group. No open read for others.
I'd like to leverage sane log rotation techniques. Namely
Time-based rotation - If a cluster is left running, someone won't accidentally burn all their drive storage on logs
log_rotate_duration - Set this to the default of 24hrs, but make configurable.
log_rotate_max_files - Set this to 32, but make configurable.
Size based rotation - If a cluster is frequently used, it will never use more than half the default size of its disk space of the machine on Consul logs
log_rotate_bytes - set to 250MB
log_rotate_max_files - set to 100
The text was updated successfully, but these errors were encountered:
FEATURE REQUEST
I would like to have log_path configurable as a variable, and have access to some of the logging features consul provides. The three use cases I can think of are:
Considerations
/opt/consul/logs/
as a path, that is only able to be written to by the Consul user, with read for consul group. No open read for others.Time-based rotation - If a cluster is left running, someone won't accidentally burn all their drive storage on logs
Size based rotation - If a cluster is frequently used, it will never use more than half the default size of its disk space of the machine on Consul logs
The text was updated successfully, but these errors were encountered: