[Tutor] Logfile multiplexing

Stephen Nelson-Smith sanelson at gmail.com
Wed Nov 11 11:34:32 CET 2009


Hi,

On Wed, Nov 11, 2009 at 10:05 AM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> "Stephen Nelson-Smith" <sanelson at gmail.com> wrote
>>
>> I don't really want to admit defeat and have a cron job sort the logs
>> before entry.  Anyone got any other ideas?
>
> Why would that be admitting defeat?

Well, it mean admitting defeat on solving the problem in python.  Yes
in practical terms, I should probably preprocess the data, but as a
programming exercise, learning how to sort a number of files into one
is something I'd like to crack.

Maybe the real lesson here is knowing which battles to fight, and a
good developer uses the right tools for the job.

S.


More information about the Tutor mailing list