-
Notifications
You must be signed in to change notification settings - Fork 7
all: add CLI flags for logger #439
Copy link
Copy link
Description
Using flags for logging in daemons, such as varlogsn, varlogadm, and varlogmr, can be frustrating due to inconsistent CLI flag options. This inconsistency often results in errors during program execution. Furthermore, some applications, like varlogmr, may not provide all necessary logging options.
varlogsn
--log-dir value, --logdir value
--logtostderr
--logfile-retention-days value, --log-file-retention-days value
--logfile-compression, --log-file-compression
--loglevel value, --log-level value
varlogadm
--logdir value, --log-dir value
--logtostderr, --log-to-stderr
--logfile-retention-days value, --log-file-retention-days value
--logfile-compression, --log-file-compression
--loglevel value, --log-level value
vmr
--log-dir value
I omitted environment variables; we can also find inconsistencies between them easily.
Reviewing the logging flags and ensuring their consistency by including any missing ones is necessary.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels