[CentOS] Sort logfiles at rotation time

Stephen Nelson-Smith stephen at atalanta-systems.com
Mon Nov 9 16:45:35 UTC 2009


2009/11/9 Kai Schaetzl <maillists at conactive.com>:
> Stephen Nelson-Smith wrote on Mon, 9 Nov 2009 14:37:18 +0000:
>
>> Yes, I do that too.
>
> Then, how are these not in date order? It might help you'd explain the
> purpose.

Because within apache, you can't necessarily guarantees strict
chronological order of log entries.  If, for example, php takes a
couple of seconds to run, the request could come a couple of seconds
before the log entry is written

S.



More information about the CentOS mailing list