You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current logging system lacks flexibility in adjusting log levels dynamically, which limits the ability to capture relevant information during different operational states.
Describe the solution you'd like
Introduce log level customization that allows dynamic adjustment of log levels based on the operational context. This should include:
Implementing a configuration system that supports runtime changes to log levels.
Providing an interface or API to adjust log levels across different modules.
Ensuring that log levels can be set at both global and module-specific scopes.
Code Example
// Example of setting log levels dynamicallylogger.setLevel('debug');logger.getModuleLogger('transactionHandler').setLevel('warn');
Describe alternatives you've considered
Maintaining static log levels, which require application restarts to modify.
Using external log management tools to filter logs post-processing, which increases complexity and latency.
Additional context
Dynamic log level adjustment will improve observability and monitoring by allowing fine-tuning of logs based on real-time requirements, thus enhancing the ability to diagnose issues promptly.
Is your feature request related to a problem? Please describe.
The current logging system lacks flexibility in adjusting log levels dynamically, which limits the ability to capture relevant information during different operational states.
Describe the solution you'd like
Introduce log level customization that allows dynamic adjustment of log levels based on the operational context. This should include:
Code Example
Describe alternatives you've considered
Additional context
Dynamic log level adjustment will improve observability and monitoring by allowing fine-tuning of logs based on real-time requirements, thus enhancing the ability to diagnose issues promptly.
Related Issues
The text was updated successfully, but these errors were encountered: