[systemd-devel] systemd-journald: prioritize system log over user log

Yunchih Chen yunchih at csie.ntu.edu.tw
Thu Mar 23 09:59:06 UTC 2017


     At my organization, there can be hundreds of user logins in a 
public workstation each day, among more than one thousand of users. 
  Since each user login produces a 8MiB sparse log file in 
/var/log/journal/xxxxx/, significant disk space is consumed.  From the 
administrator point of view, it is desirable to prioritize system log 
over user log.  For example, when total log size exceeds SystemMaxUse, 
user log is vacuumed / rotated before system log.  Can we achieve this 
goal under current implementation?

     I guess the size of pre-allocation (in my case, 8MiB), is probably 
determined platform-wise.  Here[1] I include some relevant platform info 
that might aids debugging.

Many thanks!


Yun-Chih Chen 陳耘志
Network/Workstation Assistant
Dept. of Computer Science and Information Engineering
National Taiwan University
Tel: +886-2-33664888 ext. 217/204
Email: ta217 at csie.ntu.edu.tw
Website: http://wslab.csie.ntu.edu.tw/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170323/9d3a547e/attachment-0001.html>

More information about the systemd-devel mailing list