-
Notifications
You must be signed in to change notification settings - Fork 80
CORTX-33030: In Hare, Set default log level to INFO #2155
Conversation
@pavankrishnat - Please post test results from this changeset. |
@d-nayak - Manually deployed on 3N setup and did basic Happy Path testing, Successful. |
Problem: As of now, much of the default logging in HARE is at DEBUG level. Its recommended to use INFO as default log level, to generate just good enough logs in production releases, and enable DEBUG log level only in development systems. This enable system to more relevant logs in less number of lines and hence size. Solution: Convert the DEBUG level of such logging to INFO level. Signed-off-by: pavankrishnat <pavan.k.thunuguntla@seagate.com>
1f6497e
to
e8fdf95
Compare
created new ticket to create new mechanism to separate INFO and Debug logs ( CORTX-34070 ). |
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.
This PR simply changes DEBUG logs to INFO level logs, so eventually generated logs wont be limited, but generated just with INFO tag. Need of this change suddenly felt just to satisfy this story, i see this just a workaround and not real addressing the problem.
People or QA can easily question verbosity of logs generated at INFO level, so please use proper reasoning to do such changes.
Not all but some message which fits more with info level severity are converted from debug level to info. Info level messages are still within the limits. Sanitizing logs messages will be taken in subsequent logging improvement stories. |
Problem:
As of now, much of the default logging in HARE is at DEBUG level. Its
recommended to use INFO as default log level, to generate just good enough logs
in production releases, and enable DEBUG log level only in development
systems. This enable system to more relevant logs in less number of lines and
hence size.
Solution:
Convert the DEBUG level of such logging to INFO level.
Signed-off-by: pavankrishnat pavan.k.thunuguntla@seagate.com