X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fshared%2Flogs-show.c;h=af7f8f345e196a138c6c1bd13eb2b8c213658c99;hb=f1d34068ef8d657238235d04ea291ee1ca095129;hp=afc3dcd21905a79d17beb0924d477072ddf07167;hpb=42521cd1ed053ce13260cc0c942c33ff79e7a5ae;p=thirdparty%2Fsystemd.git diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index afc3dcd2190..af7f8f345e1 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -1392,7 +1392,7 @@ int show_journal_by_unit( if (r < 0) return log_error_errno(r, "Failed to add unit matches: %m"); - if (_unlikely_(log_get_max_level() >= LOG_DEBUG)) { + if (DEBUG_LOGGING) { _cleanup_free_ char *filter; filter = journal_make_match_string(j);