about summary refs log tree commit diff stats
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index 72654762..f8ef6bf6 100644
--- a/src/log.c
+++ b/src/log.c
@@ -232,8 +232,8 @@ log_level_from_string(char *log_level)
         return PROF_LEVEL_WARN;
     } else if (strcmp(log_level, "ERROR") == 0) {
         return PROF_LEVEL_ERROR;
-    } else { // default to info
-        return PROF_LEVEL_INFO;
+    } else { // default logging is warn
+        return PROF_LEVEL_WARN;
     }
 }