logs-show: various cleanups

Among other cleanups this introduces a threshold for the size of binary
blobs we serialize as integer arrays in the JSON output. THis can be
disabled via --all.
This commit is contained in:
Lennart Poettering
2012-09-28 00:55:24 +02:00
parent 8f14c8327b
commit 08ace05beb
5 changed files with 193 additions and 160 deletions
+6 -2
View File
@@ -2279,9 +2279,13 @@ static void print_status_info(UnitStatusInfo *i) {
on_tty() * OUTPUT_COLOR;
printf("\n");
show_journal_by_unit(i->id, arg_output, 0,
show_journal_by_unit(stdout,
i->id,
arg_output,
0,
i->inactive_exit_timestamp_monotonic,
arg_lines, flags);
arg_lines,
flags);
}
if (i->need_daemon_reload)