shell - Newsyslog is not automatically rolling over my log files -
i have configured log in newsyslog.conf in following way:
/var/log/test.log 644 10 10 * z /var/run/parser.pid 31
and understanding man newsyslog.conf 4th field size @ roll on file in kilobytes. though size of file crosses doesn't seem roll on automatically.
however if manually run
/etc/rc.d/newsyslog restart
the roll on seems happen without pid not getting signalled. i'm confused - what's happening here? why roll on happen when restart newsyslog not automatically - missing here? , why restart triggered roll on not signalling pid?
i'm using freebsd, , newsyslog configuration in custom file within /etc/newsyslog.d/ directory.
Comments
Post a Comment