[Twisted-Python] twisted.lumberjack clobbers existing logs

Andrew Bennetts andrew-twisted at puzzling.org
Mon Feb 25 16:03:58 MST 2002


On Mon, Feb 25, 2002 at 09:50:39AM +0000, Itamar Shtull-Trauring wrote:
> Actually, "a" mode is a bad idea, since according to the docs has 
> inconsistent behaviour:
> "on *some* Unix systems means that *all* writes append to the end of the 
> file, regardless of the current seek position)."

I considered that, but when would a log file ever want to do otherwise?

I'd be interested to know what a portable way to append to a file is,
though.

-Andrew.





More information about the Twisted-Python mailing list