On Tue, Oct 9, 2012 at 7:30 PM, Richard W.M. Jones <rjo...@redhat.com> wrote:
> On Tue, Oct 09, 2012 at 04:16:16PM +0200, Lennart Poettering wrote:
>> On Tue, 09.10.12 09:09, Chris Adams (cmad...@hiwaay.net) wrote:
>>
>> > Once upon a time, Lennart Poettering <mzerq...@0pointer.de> said:
>> > > If people want some pixel-perfect copy of the traditional
>> > > /var/log/messages, then they should just run "journalctl" without any
>> > > args. It's much better than /var/log/messages:
>> >
>> > How do you read this log when the system is not running (e.g. mounting
>> > filesystems of a drive on another system, running from a rescue image,
>> > etc.)?
>>
>> journalctl -D <pathtothejournalfiles>
>
> What is <pathtothejournalfiles> in an actual system?

From the man page:

By default the journal stores log data in /run/log/journal/. Since
/run/ is volatile log data is lost at reboot. To make the data
persistent it is sufficient to create /var/log/journal/ where
systemd-journald will then store the data.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to