Many thanks Rolando,
I can't believe I calling the wrong function...
Fixed and working now.
Cheers,
Alan
On 14 Apr, 19:07, Rolando Espinoza La Fuente
wrote:
> On Wed, Apr 14, 2010 at 1:25 PM, Alan wrote:
>
> [SNIP]
>
> > handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME,
> > ba
On Wed, Apr 14, 2010 at 1:25 PM, Alan wrote:
[SNIP]
> handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME,
> backupCount=1, maxBytes = 1024)
That handler doesn't have maxBytes keyword argument
http://docs.python.org/library/logging.html#timedrotatingfilehandler
~Rolando
--
You rec
Hi there,
I am trying to setup logging in my setting.py.
All seemed to be working with below:
handler =
logging.handlers.TimedRotatingFileHandler(LOG_FILENAME, backupCount=1)
until I decided to make it:
handler = logging.handlers.TimedRotatingFileHandler(LOG_FILENAME,
backupCount=1, max
3 matches
Mail list logo