logging / FileHandler
vinay_sajip at yahoo.co.uk
Thu Aug 5 16:38:55 CEST 2004
> with the logging module, I am using the FileHandler formatter.
> Is there a setting to stop the logger from putting the same message
> more than once? So it would say:
> Message whatever
> Repeated X times
If you really wanted this functionality, you could write your own
handler derived from FileHandler.
I assume you are not getting multiple messages because you added the
same FileHandler multiple times?
More information about the Python-list