<html><head></head><body><div class="ydpbdd49aa5yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div>I understand, but there is no option or any parameter in systemd to not do through mount?<br></div>
</div><div id="yahoo_quoted_7661218448" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Pe duminică, 16 august 2020, 19:48:51 EEST, Tomasz Torcz <tomek@pipebreaker.pl> a scris:
</div>
<div><br></div>
<div><br></div>
<div>On Sun, Aug 16, 2020 at 04:35:48PM +0000, ionut n wrote:<br clear="none">> <br clear="none">> Hi SystemD Team,<br clear="none"><br clear="none"> It's "systemd" (all lowercase).<div class="yqt5115460514" id="yqtfd46085"><br clear="none"><br clear="none">> <br clear="none">> One question.<br clear="none">> <br clear="none">> Is it possible with systemd-journalctl to change the location to save logs in other location?<br clear="none">> <br clear="none">> My system is volatile (tmpfs) and I have another location available to keep certain logs.<br clear="none">> <br clear="none">> - /dev/root or / is tmpfs<br clear="none">> - /external-persistent0 is ext4 or xfs<br clear="none">> <br clear="none">> I would like to save the logs here:<br clear="none">> /external-persistent0/journal<br clear="none">> <br clear="none">> Is it possible to do this?<br clear="none">> In the current documentation for journalctl I have not seen anything about this.</div><br clear="none"><br clear="none"> Journal stores persistent logs in /var/log/journal, so best course of<br clear="none">action would be to mount --bind /external-persistent0/journal /var/log/journal<br clear="none">A symlink from /var/log/journal to /external-persistent0/journal may<br clear="none">work, too.<br clear="none"><br clear="none">-- <br clear="none">Tomasz Torcz To co nierealne – tutaj jest normalne.<br clear="none"><a shape="rect" ymailto="mailto:tomek@pipebreaker.pl" href="mailto:tomek@pipebreaker.pl">tomek@pipebreaker.pl</a> Ziomale na życie mają tu patenty specjalne.<br clear="none"><br clear="none">_______________________________________________<br clear="none">systemd-devel mailing list<br clear="none"><a shape="rect" ymailto="mailto:systemd-devel@lists.freedesktop.org" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><div class="yqt5115460514" id="yqtfd84784"><br clear="none"></div></div>
</div>
</div></body></html>