diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-25 05:51:41 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-26 23:16:58 -0500 |
commit | d95b1fb315f62313be5bee5bee3b2d1467868a7d (patch) | |
tree | 5a83db4850afcbf28cb374a7dbc260424db975c1 /src/journal/test-mmap-cache.c | |
parent | 1883552c3d80d44f4cb368874d54c1cb15b83e61 (diff) |
log-show: look at everything in /run/log/journal
Logs written by journald from the initramfs may be written to a
directory with the name created from a random machine-id. Afterwards,
when the root filesystem has been mounted and machine-id reinitalized,
logs will be written to the directory with a name created from the
proper machine-id. When logs are flushed to /var/log/journal,
everything is copied to one output directory.
When journalctl without '-m' is run after the logs have been flushed
to /var/log/journal, all messages are shown. However, when run while
logs are still in /run/log/journal, those stored under the random
machine-id will not be shown.
Make journalctl behave the same regardless whether persistent storage
has been enabled or not, and slurp all files from /run/log/journal
even without '-m'.
Diffstat (limited to 'src/journal/test-mmap-cache.c')
0 files changed, 0 insertions, 0 deletions