From: Lennart Poettering Date: Tue, 21 Aug 2012 13:53:48 +0000 (+0200) Subject: journalctl: add a bit of color to the output X-Git-Tag: v189~24 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=cedb42bb694ef866b18608b14ac269d1ef7513f8;ds=sidebyside journalctl: add a bit of color to the output --- diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 0bbf4a045..36c3d2b68 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -659,13 +659,15 @@ static int verify(sd_journal *j) { assert(j); + log_show_color(true); + HASHMAP_FOREACH(f, j->files, i) { int k; usec_t from, to, total; #ifdef HAVE_GCRYPT if (!arg_verify_key && JOURNAL_HEADER_SEALED(f->header)) - log_warning("Journal file %s has sealing enabled but verification key has not been passed using --verify-key=.", f->path); + log_notice("Journal file %s has sealing enabled but verification key has not been passed using --verify-key=.", f->path); #endif k = journal_file_verify(f, arg_verify_key, &from, &to, &total, true);