From ad4d2606ac5c1fcf920196df4a71030857ba8c22 Mon Sep 17 00:00:00 2001 From: Justin Kilpatrick Date: Mon, 15 Oct 2018 18:24:17 -0400 Subject: [PATCH] Set logging to INFO when generated temporarily I'm not super happy about this, but we have 40 somthing routers in Colombia that are going to come online needing monitoring and because we use a pull instead of a push arch for updates this is going to control what their routers do by default. Current stats harvested from exits let me talk to everyone currently running Rita and let them know that this will flip on during update so YOLO I guess. --- settings/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/settings/src/lib.rs b/settings/src/lib.rs index 26b176720..6e705aded 100644 --- a/settings/src/lib.rs +++ b/settings/src/lib.rs @@ -177,12 +177,14 @@ impl Default for NetworkSettings { } } +// TODO change to false in alpha 11 fn default_logging() -> bool { - false + true } +// TODO change to warn in alpha 11 fn default_logging_level() -> String { - "ERROR".to_string() + "INFO".to_string() } fn default_logging_send_port() -> u16 {