From b6741478e7661c7e580e5dcfd6a6fccd1899c1d0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Dec 2013 22:04:03 +0100 Subject: journal: add ability to browse journals of running OS containers This adds the new library call sd_journal_open_container() and a new "-M" switch to journalctl. Particular care is taken that journalctl's "-b" switch resolves to the current boot ID of the container, not the host. --- src/shared/logs-show.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/logs-show.h') diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h index 11b3b59b7b..3a99160f1e 100644 --- a/src/shared/logs-show.h +++ b/src/shared/logs-show.h @@ -38,7 +38,7 @@ int output_journal( OutputFlags flags, bool *ellipsized); -int add_match_this_boot(sd_journal *j); +int add_match_this_boot(sd_journal *j, const char *machine); int add_matches_for_unit( sd_journal *j, -- cgit v1.2.3-54-g00ecf