[Tutor] Purging/deleting the logfile with the logging module

Tony Cappellini cappy2112 at gmail.com
Wed Jan 31 04:15:28 CET 2007


> *close*(      )

> >
> >     Tidy up any resources used by the handler. This version does nothing
> >     and is intended to be implemented by subclasses.
> >
> > How can I purge/delete & reopen the logfile?
>
> >>FileHandler has a close() method that presumably does something useful.


see above-
It says it does nothing, but it does close the file. This is the first step.

Will see what the socket handler does.

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070130/f113a8c2/attachment.htm 


More information about the Tutor mailing list