From 08ace05beb1d09b6ebc5e9cafc2b972b39fa2437 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 27 Sep 2012 23:27:10 +0200 Subject: 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. --- src/systemctl/systemctl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/systemctl') diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index cc9c775251..62c32cd31a 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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) -- cgit v1.2.3-54-g00ecf