You are not logged in.

#1 2014-03-13 12:06:02

joximus
Member
Registered: 2014-03-11
Posts: 7

journald SyncIntervalSec

In order to reduce frequency of writing journal files to filesystem (sd card on cubieboard) I have set SyncIntervalSec in journald.conf to 60m.
Man page for journald.conf states :
"The timeout before synchronizing journal files to disk. After syncing, journal files are placed in the OFFLINE state. Note that syncing is unconditionally done immediately after a log message of priority CRIT, ALERT or EMERG has been logged. This setting hence applies only to messages of the levels ERR, WARNING, NOTICE, INFO, DEBUG. The default timeout is 5 minutes."

But I have noticed that journal file is written immediately no matter what priority log message is (PRIORITY = 6, eg. cron job, ssh login, ...).
Is this a bug or am I missing something?

Offline

Board footer

Powered by FluxBB