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 0bbf4a045d3b289bdb2d84f480ad660b2ade2aeb..36c3d2b6883c4bd27fa02578338179519e953cec 100644 (file)
@@ -659,13 +659,15 @@ static int verify(sd_journal *j) {
 
         assert(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))
         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);
 #endif
 
                 k = journal_file_verify(f, arg_verify_key, &from, &to, &total, true);