[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to rotate log files?



There's no need to bother with SIGHUPs if you roll
your logs this way:

        cp log elsewhere
        > log

The router and scheduler set the O_APPEND flag on
the logfile, so all writes happen at the current EOF.