On Tue, Oct 1, 2013 at 11:48 PM, Manuel Reimer
<manuel.s...@nurfuerspam.de> wrote:
> So long story short: How to tell journald to just forget all previously
> logged stuff? Can I safely delete anything below /run/log/journal? Will this
> really clear the log (journalctl no longer returns anything after that)?

Do you really need to clear it? Presumably, the system has to meet its
memory constraints just before you dump the logs. What is the
advantage of freeing memory that the system has to account for,
anyway?

If it's just to know when the last dump was, you can use the journal's
cursor data or record a special log entry just before you dump.

-- 
David Strauss
   | da...@davidstrauss.net
   | +1 512 577 5827 [mobile]
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to