On Fri, 2008-05-23 at 16:56 +0100, Mark Ellis wrote:

> Related, how about opening the log file as append, rather than
> overwriting ? Or will that make support requests more complicated ?
> 

Only problem I can see with append is the fact that the file will just
keep on growing :)

One way to deal with this is to have an upper limit on log file size,
and then rotate a fixed number of log files of that limit (so we never
exceed a fixed amount of log space). I do this with most of the compiled
apps I write, but not sure how to implement something similar with the
Python logging package. I'll have a look at this.

        John


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to