ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.81k stars 889 forks source link

cln-plugin: Change default log level filter back to INFO #7668

Closed laanwj closed 3 days ago

laanwj commented 1 week ago

cln-plugin: Change default log level filter back to INFO

Description

In commit 60e1532dd89ec8a434ce4b31359c54558c41b4b1 (released in crate 0.1.8), which switched the logging framework to tracing-subscriber, the default log level filter was (accidentally) set to ERROR and above, instead of INFO and above.

Change this back to INFO as it was before. It can still be overridden with environment variable CLN_PLUGIN_LOG.

Follows the example in https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#method.from_env

Related Issues

Changes Made

Changelog-Fixed: cln-plugin: Change default log level filter back to INFO

Checklist

Ensure the following tasks are completed before submitting the PR: