diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-11 22:04:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-11 22:04:03 +0100 |
commit | b6741478e7661c7e580e5dcfd6a6fccd1899c1d0 (patch) | |
tree | b29e463c8113c914a21b45226a845424214ece21 /src/shared/logs-show.h | |
parent | 842129f58752864d4433792c9c47d40508c4439a (diff) |
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.
Diffstat (limited to 'src/shared/logs-show.h')
-rw-r--r-- | src/shared/logs-show.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |