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

Allow user-specified log levels for client, service and subscription related events #42

Open
m-ronnblom opened this issue Apr 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@m-ronnblom
Copy link
Collaborator

Extend the pafd log file with the possibility to specify the log level for information related to subscribe, unsubscribe, publish, and unpublish events.

Currently, all logs related to such events (e.g., a service is published) is logged on debug level. In certain deployments, it makes sense to trade some performance/memory/CPU-cycles for observability, and have those kind of events logged, but full debug logging is a too verbose.

Currently, client connection established and tear down events are logged at info level. This should also be a matter of configuration, so that performance-optimized deployments may classify those as debug level log entries.

The default behavior should be to keep legacy log levels (i.e., debug for subscriptions/services and info level for client connection establishment/disconnect.

@m-ronnblom m-ronnblom added the enhancement New feature or request label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant