diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-21 15:53:48 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-21 15:53:48 +0200 |
commit | cedb42bb694ef866b18608b14ac269d1ef7513f8 (patch) | |
tree | a925723dfea8850a34e150813632fe3f19519eee /src | |
parent | 24a598f889229e14c62f80c58d5d32cd9663c812 (diff) |
journalctl: add a bit of color to the output
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journalctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index 0bbf4a045d..36c3d2b688 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); |