TMP pile
This commit is contained in:
@@ -42,6 +42,7 @@ pub struct LoggingConfig {
|
||||
|
||||
// Libs
|
||||
pub libservice: LogLevel,
|
||||
pub servable: LogLevel,
|
||||
pub toolbox: LogLevel,
|
||||
|
||||
// Bins
|
||||
@@ -67,15 +68,22 @@ impl From<LoggingConfig> for EnvFilter {
|
||||
format!("axum={}", conf.silence),
|
||||
format!("selectors={}", conf.silence),
|
||||
format!("html5ever={}", conf.silence),
|
||||
format!("tantivy={}", conf.silence),
|
||||
format!("aws_smithy_runtime={}", conf.silence),
|
||||
format!("aws_smithy_http_client={}", conf.silence),
|
||||
format!("aws_sdk_s3={}", conf.silence),
|
||||
format!("aws_sigv4={}", conf.silence),
|
||||
//
|
||||
// Libs
|
||||
//
|
||||
format!("toolbox={}", conf.toolbox),
|
||||
format!("libservice={}", conf.libservice),
|
||||
format!("servable={}", conf.servable),
|
||||
//
|
||||
// Bins
|
||||
//
|
||||
format!("service_webpage={}", conf.service),
|
||||
format!("service_pile={}", conf.service),
|
||||
format!("webpage={}", conf.webpage),
|
||||
conf.other.to_string(),
|
||||
]
|
||||
@@ -183,6 +191,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Error,
|
||||
servable: LogLevel::Error,
|
||||
toolbox: LogLevel::Error,
|
||||
|
||||
// Bins
|
||||
@@ -196,6 +205,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Warn,
|
||||
servable: LogLevel::Warn,
|
||||
toolbox: LogLevel::Warn,
|
||||
|
||||
// Bins
|
||||
@@ -209,6 +219,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Info,
|
||||
servable: LogLevel::Info,
|
||||
toolbox: LogLevel::Info,
|
||||
|
||||
// Bins
|
||||
@@ -222,6 +233,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Debug,
|
||||
servable: LogLevel::Debug,
|
||||
toolbox: LogLevel::Debug,
|
||||
|
||||
// Bins
|
||||
@@ -235,6 +247,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Trace,
|
||||
servable: LogLevel::Trace,
|
||||
toolbox: LogLevel::Trace,
|
||||
|
||||
// Bins
|
||||
@@ -248,6 +261,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Trace,
|
||||
servable: LogLevel::Trace,
|
||||
toolbox: LogLevel::Trace,
|
||||
|
||||
// Bins
|
||||
@@ -261,6 +275,7 @@ impl LogFilterPreset {
|
||||
|
||||
// Libs
|
||||
libservice: LogLevel::Trace,
|
||||
servable: LogLevel::Trace,
|
||||
toolbox: LogLevel::Trace,
|
||||
|
||||
// Bins
|
||||
|
||||
Reference in New Issue
Block a user