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

Add configuration to log verbosity mode #16

Closed
altmannmarcelo opened this issue Aug 15, 2024 · 0 comments · Fixed by #30
Closed

Add configuration to log verbosity mode #16

altmannmarcelo opened this issue Aug 15, 2024 · 0 comments · Fixed by #30

Comments

@altmannmarcelo
Copy link
Collaborator

Add a config to allow users to choose if they want to log INFO messages or only ERROR. This helps to not flood ProxySQL logs with messages.

altmannmarcelo added a commit that referenced this issue Nov 12, 2024
This commit adds a verbosity level to log messages. The verbosity level
can be configure in the .cnf file or else Note will be assumed by
default. This is to avoid the scheduler from flooding the logs with
messages that indicate the scheduler is running as expected.

There are 4 log levels:
- Info
- Note
- Warning
- Error

The last two are obvious, but the first two are as follows:
- Info: This is just and information, the action that follow this will
not change the state of the proxy.
- Note: This is a note to the user that the action that follows this
will most likely change the state of the proxy.

Closes #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant