[systemd-devel] I added the uuid to match a container to /var/log/journal

Daniel J Walsh dwalsh at redhat.com
Fri Nov 16 06:20:52 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 ls -l /var/log/journal/
total 12
drwxr-xr-x. 2 root root 12288 Nov 16 08:47 1b16d5a8cec649e7ba7d9f9f6ef8f393
lrwxrwxrwx. 1 root root    52 Nov 13 15:24 1f9684eeed2d43d3bfee702a89f849d6 ->
/var/lib/libvirt/filesystems/apache1/var/log/journal
lrwxrwxrwx. 1 root root    48 Nov 13 15:29 99f38a5c9bfd46bab46cc8e2685bee65 ->
/var/lib/libvirt/filesystems/dan/var/log/journal


How would I go about viewing the log file in journalctl?

Also in talks about containers, a discussion came up about using syslog to off
load container logs to a centralized server.  Is there a way to collect the
data from journald/containers into the host systems syslog?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlCmS8QACgkQrlYvE4MpobPR3wCfcidpc7OJf8pJHNv8fwumeFSH
4ZQAn3jBn/9w9bAU5+cJlGzYNQ1aBLLo
=tfYR
-----END PGP SIGNATURE-----


More information about the systemd-devel mailing list