From bb727d60ac19e7b979ae8288bb908327bc171467 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 23 Sep 2019 09:42:22 +0200 Subject: [PATCH] eina_log: do not fallback to INFO when we run with systemd support INFO is a way too verbose log domain, this lead to the fact that we spammed journald before the first frame with ~200-300 messages (depending on the setup) which is quite a lot. Additionally, this also lead to the fact that we often TIMEOUT our own tests. Reviewed-by: Stefan Schmidt Differential Revision: https://phab.enlightenment.org/D10075 --- src/lib/eina/eina_log.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c index 35ce0c2..b52f504 100644 --- a/src/lib/eina/eina_log.c +++ b/src/lib/eina/eina_log.c @@ -1594,10 +1594,6 @@ eina_log_init(void) // Global log level if ((level = getenv(EINA_LOG_ENV_LEVEL))) _log_level = atoi(level); -#ifdef HAVE_SYSTEMD - else if (getenv("NOTIFY_SOCKET") && (_print_cb == eina_log_print_cb_journald)) - _log_level = EINA_LOG_LEVEL_INFO; -#endif // Register UNKNOWN domain, the default logger EINA_LOG_DOMAIN_GLOBAL = eina_log_domain_register("", NULL); -- 2.7.4