Hi,
I was reading through Python Logging tutorial, and I found one
scenario which I couldnt properly understand.
The tutorial (http://docs.python.org/library/logging.html)
mentions at first that -- Multiple calls to getLogger() with the same
name will return a reference to the same logger
On Jan 2, 11:31 am, koranth...@gmail.com wrote:
I am confused reading both together. I will try to explain my
confusion with an example:
basicLogger =logging.getLogger(basic)
Class A():
def __init__(self):
self.logger =logging.getLogger(basic.class_a)
Now, I make say 10
On Jan 2, 6:21 pm, Vinay Sajip vinay_sa...@yahoo.co.uk wrote:
On Jan 2, 11:31 am, koranth...@gmail.com wrote:
I am confused reading both together. I will try to explain my
confusion with an example:
basicLogger =logging.getLogger(basic)
Class A():
def __init__(self):
I am new to Python and I am trying to understand how to utilize the
RotatingFileHandler to rollover
when the file gets to a certain size. I followed some examples that I have
found for setting the size and
the number of files. However, I am finding that when the log file gets close
to the