summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-21 15:53:48 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-21 15:53:48 +0200
commitcedb42bb694ef866b18608b14ac269d1ef7513f8 (patch)
treea925723dfea8850a34e150813632fe3f19519eee /src
parent24a598f889229e14c62f80c58d5d32cd9663c812 (diff)
journalctl: add a bit of color to the output
Diffstat (limited to 'src')
-rw-r--r--src/journal/journalctl.c4
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);