Re: [systemd-devel] Backup the current boot logs in raw format

2019-07-24 Thread Francis Moreau
On Wed, Jul 24, 2019 at 4:08 PM Zbigniew Jędrzejewski-Szmek wrote: > journalctl -o export ... | /usr/lib/systemd/systemd-journal-remote -o > /tmp/foo.journal - > This has the advantage that you can apply any journalctl filter where > the dots are, e.g. '-b'. Thanks ! It's documented in man pa

Re: [systemd-devel] Backup the current boot logs in raw format

2019-07-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jul 24, 2019 at 03:48:40PM +0200, Francis Moreau wrote: > Hi, > > I would like to backup the journal logs for the current boot in a > "raw" format so I can reuse it later with "journalctl > --file=my-backup". > > But looking at the different values for "-o" option I can't find the answer.

[systemd-devel] Backup the current boot logs in raw format

2019-07-24 Thread Francis Moreau
Hi, I would like to backup the journal logs for the current boot in a "raw" format so I can reuse it later with "journalctl --file=my-backup". But looking at the different values for "-o" option I can't find the answer. Could anybody give me some clues ? Thanks. -- Francis

Re: [systemd-devel] Antw: Re: Antw: sd_journal_send non-blocking call

2019-07-24 Thread Lennart Poettering
On Mi, 24.07.19 07:56, Ulrich Windl (ulrich.wi...@rz.uni-regensburg.de) wrote: > >> No, program APIs use Unix sockets (/dev/log, /run/systemd/journal/socket). > >> You only get UDP when your local syslog daemon is configured to forward > >> elsewhere. > >> > >> That said, both are datagram sockets