diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-09-23 09:42:22 +0200 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-10-04 09:26:22 -0400 |
commit | 21441576df880972b6d5077dc286ac871463a063 (patch) | |
tree | 6a5960b2ed6fe9232dc10e0d20c1fa94757a700c | |
parent | 58fc0014a3b6219e2c22ed27ae5a38cd3b09888d (diff) | |
download | efl-21441576df880972b6d5077dc286ac871463a063.tar.gz |
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 <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D10075
-rw-r--r-- | src/lib/eina/eina_log.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c index 9b55ea0bd3..5700236eb3 100644 --- a/src/lib/eina/eina_log.c +++ b/src/lib/eina/eina_log.c @@ -1562,10 +1562,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); |