[syslog-ng] (U) [Non-DoD Source] Re: Rotate syslog-ng log files

Gergely Nagy algernon at balabit.com
Tue Jun 5 14:03:14 UTC 2018


>>>>> "Amin" == Amin, Jitesh CTR DISA JSP (US) <jitesh.amin.ctr at mail.mil> writes:

    Amin> OK skipping the {} made it work and I now see a syslog file
    Amin> with timestamp (year-month-day). Does this mean it should
    Amin> rotate to new log file name (tomorrows timestamp) at midnight
    Amin> tonight? OR I need to add syntax so it rolls everyday with new
    Amin> timestamp. Just wanted to confirm.

It should rotate at midnight, yes. You do not need additional syntax to
make it roll every day.

-- 
|8]


More information about the syslog-ng mailing list