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 account to set a log level for application logs #456

Open
davehorton opened this issue Oct 4, 2024 · 1 comment
Open

Allow account to set a log level for application logs #456

davehorton opened this issue Oct 4, 2024 · 1 comment
Assignees

Comments

@davehorton
Copy link
Contributor

A great suggestion was made by a customer recently. For troubleshooting purposes, it would be great to allow someone in the portal to set the loglevel for the account. This could be a checkbox to enable debug logging. This log level would apply specifically to the jambonz-feature-server, sbc-inbound, and sbc-outbound since those are the logs we use most often in troubleshooting call issues. Those corresponding apps would retrieve the log level as part of the current account retrieval and then set the pino loglevel accordingly, just for that session.

That way we can get debug logs for one customer without having to turn up for all, and also without having to restart the apps.

As part of this, in system setttings we should probably have a setting for default loglevel - dropdown of info or debug, to set/change the system wide settings.

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

No branches or pull requests

2 participants