Time difference in System log

Just configuring a new Turris Omnia 2019 here, and I still get this issue.

This was a problem for configuring fail2ban as all the messages where detected as it was 1 hour earlier, thus ignored.

workaround worked:

    destination messages {
        file("/var/log/messages" suppress(5) template("${R_YEAR}-${R_MONTH}-${R_DAY} ${R_HOUR}:${R_MIN}:${R_SEC} ${PRIORITY} ${PROGRAM}[${PID}]: ${MSGONLY}\n") log_fifo_size(256)); 
};
1 Like