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

2007-01-30 Thread Kent Johnson
Tony Cappellini wrote: > > *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

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

2007-01-30 Thread Tony Cappellini
*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 i

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

2007-01-30 Thread Kent Johnson
Tony Cappellini wrote: > > > I want to purge (empty) or delete the logfile created by the logging > module, and reopen it for a new session. > > There is reference to a close function in the 2.3 docs, but I don't see > how I can purge or delete the file, since I don't have access to the > fil

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

2007-01-30 Thread Tony Cappellini
I want to purge (empty) or delete the logfile created by the logging module, and reopen it for a new session. There is reference to a close function in the 2.3 docs, but I don't see how I can purge or delete the file, since I don't have access to the file descriptor. *close*( ) Tidy up any resour