diff --git a/src/bin_node/node_run_command.ml b/src/bin_node/node_run_command.ml index 79986303f..14018ca77 100644 --- a/src/bin_node/node_run_command.ml +++ b/src/bin_node/node_run_command.ml @@ -77,18 +77,6 @@ let context_dir data_dir = data_dir // "context" let protocol_dir data_dir = data_dir // "protocol" let lock_file data_dir = data_dir // "lock" -let find_log_rules default = - match Option.try_with (fun () -> Sys.getenv "TEZOS_LOG"), - Option.try_with (fun () -> Sys.getenv "LWT_LOG") - with - | Some rules, None -> "environment variable TEZOS_LOG", Some rules - | None, Some rules -> "environment variable LWT_LOG", Some rules - | None, None -> "configuration file", default - | Some rules, Some _ -> - warn "Both environment variables TEZOS_LOG and LWT_LOG \ - defined, using TEZOS_LOG." ; - "environment varible TEZOS_LOG", Some rules - let init_node ?sandbox ?checkpoint (config : Node_config_file.t) = let patch_context json ctxt = begin