fix
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit
This commit is contained in:
parent
26667fdcd6
commit
1cb9663776
@ -56,6 +56,7 @@ console_consumer::console_consumer(event_level level) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
spdlog::drop("console");
|
||||||
spdlog::create_async<spdlog::sinks::stdout_color_sink_mt>("console");
|
spdlog::create_async<spdlog::sinks::stdout_color_sink_mt>("console");
|
||||||
|
|
||||||
set_level(level);
|
set_level(level);
|
||||||
|
@ -58,6 +58,7 @@ logging_consumer::logging_consumer(event_level level,
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
spdlog::drop("file");
|
||||||
spdlog::create_async<spdlog::sinks::rotating_file_sink_mt>(
|
spdlog::create_async<spdlog::sinks::rotating_file_sink_mt>(
|
||||||
"file", utils::path::combine(log_directory, {"repertory.log"}),
|
"file", utils::path::combine(log_directory, {"repertory.log"}),
|
||||||
MAX_LOG_FILE_SIZE, MAX_LOG_FILES);
|
MAX_LOG_FILE_SIZE, MAX_LOG_FILES);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user