[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Lower log level of "Scheduler of type KIST has been enabled" to INFO



commit d20feddfcc022710a42066afbdeb7f4b8cb45f6d
Author: Matt Traudt <sirmatt@xxxxxxx>
Date:   Mon Jul 9 10:45:24 2018 -0400

    Lower log level of "Scheduler of type KIST has been enabled" to INFO
---
 changes/ticket26703     | 3 +++
 src/core/or/scheduler.c | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/changes/ticket26703 b/changes/ticket26703
new file mode 100644
index 000000000..764b98b82
--- /dev/null
+++ b/changes/ticket26703
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+    - Low log level of "Scheduler type KIST has been enabled" to INFO.
+      Ticket 26703
diff --git a/src/core/or/scheduler.c b/src/core/or/scheduler.c
index e19059f0c..dd028fc78 100644
--- a/src/core/or/scheduler.c
+++ b/src/core/or/scheduler.c
@@ -351,8 +351,8 @@ set_scheduler(void)
   /* Finally we notice log if we switched schedulers. We use the type in case
    * two schedulers share a scheduler object. */
   if (old_scheduler_type != the_scheduler->type) {
-    log_notice(LD_CONFIG, "Scheduler type %s has been enabled.",
-               get_scheduler_type_string(the_scheduler->type));
+    log_info(LD_CONFIG, "Scheduler type %s has been enabled.",
+             get_scheduler_type_string(the_scheduler->type));
   }
 }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits