chiark / gitweb /
journalctl: add a bit of color to the output
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Aug 2012 13:53:48 +0000 (15:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Aug 2012 13:53:48 +0000 (15:53 +0200)
src/journal/journalctl.c

index 0bbf4a0..36c3d2b 100644 (file)
@@ -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);