Writing Log CSV (Efficiently)

Dave Borne dborne at gmail.com
Mon Apr 16 10:00:42 EDT 2007


On 4/16/07, Robert Rawlins - Think Blue
<robert.rawlins at thinkbluemedia.co.uk> wrote:
> I'm looking to write a Log file which will be CSV based, and there is a good
> possibility that it'll get quite busy once its up and running, so I'm
> looking for the most efficient way to achieve it. Whilst I'm sure i could do
> something like this.

Python has built in logging support. It's pretty flexible as far as
formatting output. I can get a bit complicated to set up, but it will
handle traffic well.

more info here http://docs.python.org/lib/module-logging.html

-Dave



More information about the Python-list mailing list