Add sabre to default loggers
This change adds sawtooth_sabre and sabre_sdk to the default loggers
that include trace logging as a possible level.  It fixes an issue where
sabre logs are not available in the debug output without modifying the
log configuration in a splinter daemon's configuration file.
@@ -137,6 +137,13 @@ impl PartialConfigBuilder for DefaultPartialConfigBuilder {
level: Some(log::Level::Trace),
},
),
+ (
+ "sabre_sdk".to_string(),
+ UnnamedLoggerConfig {
+ appenders: None,
+ level: Some(log::Level::Trace),
+ },
+ ),
(
"sawtooth".to_string(),
UnnamedLoggerConfig {
@@ -144,6 +151,13 @@ impl PartialConfigBuilder for DefaultPartialConfigBuilder {
level: Some(log::Level::Trace),
},
),
+ (
+ "sawtooth_sabre".to_string(),
+ UnnamedLoggerConfig {
+ appenders: None,
+ level: Some(log::Level::Trace),
+ },
+ ),
(
"scabbard".to_string(),
UnnamedLoggerConfig {
