[enhancement] Add debug mode in monitoring config
devkapilbansal opened this issue · 0 comments
devkapilbansal commented
Yes, I remove
-t
flag when logging in verbose mode. In verbose_mode, it is automatically tagging the logged message by the procd service name and if I pass a tag, then the message is logged twiceWhat do you think about adding a new "debug mode" to turn this on?
In verbose mode we could avoid using it. In debug mode we would know (and document) that any output is sent to the logging facility, causing some output to be repeated, Or alternatively, we could even modify our log function to use echo instead of
logger
.
See #57 (comment)