Skip to content

Conversation

@altmannmarcelo
Copy link
Collaborator

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

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
Copy link
Contributor

@jasobrown-rs jasobrown-rs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@altmannmarcelo altmannmarcelo merged commit 16f7435 into main Nov 12, 2024
4 checks passed
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 this pull request may close these issues.

Add configuration to log verbosity mode

3 participants