Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log levels beyond INFO: VERBOSE #2467

Closed
kostja opened this issue May 23, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@kostja
Copy link
Member

commented May 23, 2017

We need a verbose log level in which we can afford logging repetitive events, such as exceptions (diag_set), applier status changes, in other words, anything which would flood the log on INFO level, which is useful to better understanding of what is going on with the system, but which is not debug exactly.

Perhaps we need 3 levels of verbosity instead of one.

@kostja kostja added this to the 1.7.5 milestone May 23, 2017

@kostja kostja self-assigned this May 24, 2017

@kostja

This comment has been minimized.

Copy link
Member Author

commented May 24, 2017

Implemented 1 new log level: VERBOSE

kostja added a commit that referenced this issue May 24, 2017

log: implement log_verbose and VERBOSE log level.
We don't have any intermediate log level between INFO and DEBUG.
INFO level should be used for rare events, such as becoming a
master or accepting a replica join. INFO is the default level.

We lack a log level for "hard to debug" situations, usable
by system administrators.

Introduce a new new log level for this purpose, VERBOSE,
for verbose output.

This change should not affect any existing installations.

Update module-api.c test.

Fixes gh-2467.

@kostja kostja closed this May 24, 2017

@rtsisyk rtsisyk added the feature label Aug 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.