journalctl: add --exclude-identifier option

This commit is contained in:
Sergei Zhmylev
2024-01-04 23:21:39 +01:00
committed by Luca Boccassi
parent 42301b6d96
commit 25aa35d465
8 changed files with 66 additions and 5 deletions
+3
View File
@@ -523,6 +523,9 @@ static int output_short(
return 0;
}
if (identifier && set_contains(j->exclude_syslog_identifiers, identifier))
return 0;
if (!(flags & OUTPUT_SHOW_ALL))
strip_tab_ansi(&message, &message_len, highlight_shifted);