chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
24a598f
)
journalctl: add a bit of color to the output
author
Lennart Poettering
<lennart@poettering.net>
Tue, 21 Aug 2012 13:53:48 +0000
(15:53 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 21 Aug 2012 13:53:48 +0000
(15:53 +0200)
src/journal/journalctl.c
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index 0bbf4a045d3b289bdb2d84f480ad660b2ade2aeb..36c3d2b6883c4bd27fa02578338179519e953cec 100644
(file)
--- a/
src/journal/journalctl.c
+++ b/
src/journal/journalctl.c
@@
-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);