Open huan opened 2 years ago
I saw we are using lots of log.info(...) in the puppet code, which is not a necessary message to the end users.
log.info(...)
We should:
warn
error
verbose
silly
NEVER use info inside a puppet.
info
Thank you very much.
I saw we are using lots of
log.info(...)
in the puppet code, which is not a necessary message to the end users.We should:
warn
when there's something we need the user to noticeerror
when there's any errorverbose
for tracking the methods (always be the first call inside a method)silly
to output more debug information.NEVER use
info
inside a puppet.Thank you very much.