diff --git a/contrib/development.conf b/contrib/development.conf index d293cd4..da6aa0b 100644 --- a/contrib/development.conf +++ b/contrib/development.conf @@ -7,7 +7,7 @@ "threads": 2, "log": { "output": "stdout", - "//level": "debug", + "level": "debug", "timestampFormat": "none", "color": true } diff --git a/src/Main.c b/src/Main.c index 6ede4be..cb06352 100644 --- a/src/Main.c +++ b/src/Main.c @@ -111,8 +111,6 @@ main(int argc, char **argv) return EXIT_FAILURE; } - MemoryHook(TelodendriaMemoryHook, NULL); - TelodendriaPrintHeader(); while ((opt = getopt(argc, argv, "f:Vvn")) != -1) @@ -142,6 +140,7 @@ main(int argc, char **argv) if (flags & ARG_VERBOSE) { LogConfigLevelSet(LogConfigGlobal(), LOG_DEBUG); + MemoryHook(TelodendriaMemoryHook, NULL); } if (flags & ARG_VERSION)