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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri Nov 16 07:06:14 PST 2012


On Fri, Nov 16, 2012 at 09:20:52AM -0500, Daniel J Walsh wrote:
> -----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?
journalctl --merge ?

> 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?
If you mean locally, than yes, by linking like you did. If you mean
remotely, then not yet, it's being worked on. See this thread
http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg07116.html

Zbyszek


More information about the systemd-devel mailing list