mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
Prevent rolling file appender panic (#5117)
* rolling file appender panic removal and max log file count * max log file
This commit is contained in:
@@ -542,13 +542,6 @@ fn run<E: EthSpec>(
|
||||
|
||||
let turn_on_terminal_logs = matches.is_present("env_log");
|
||||
|
||||
// Run a task to clean up old tracing logs.
|
||||
let log_cleaner_context = environment.service_context("log_cleaner".to_string());
|
||||
log_cleaner_context.executor.spawn(
|
||||
logging::cleanup_logging_task(path.clone(), log.clone()),
|
||||
"log_cleaner",
|
||||
);
|
||||
|
||||
logging::create_tracing_layer(path, turn_on_terminal_logs);
|
||||
|
||||
// Allow Prometheus to export the time at which the process was started.
|
||||
|
||||
Reference in New Issue
Block a user