On Aug 30, 1:39 pm, Roy Smith wrote:
> Oh, my, it turns out that django includes:
>
> # This is a copy of the Pythonlogging.config.dictconfig module,
> # reproduced with permission. It is provided here for backwards
> # compatibility for Python versions prior to 2.7.
>
> Comparing the django copy
On Aug 30, 1:39 pm, Roy Smith wrote:
> Oh, my, it turns out that django includes:
>
> # This is a copy of the Pythonlogging.config.dictconfig module,
> # reproduced with permission. It is provided here for backwards
> # compatibility for Python versions prior to 2.7.
>
> Comparing the django copy
On Aug 30, 1:39 pm, Roy Smith wrote:
> Oh, my, it turns out that django includes:
>
> # This is a copy of the Pythonlogging.config.dictconfig module,
> # reproduced with permission. It is provided here for backwards
> # compa
In article ,
Peter Otten <__pete...@web.de> wrote:
> Roy Smith wrote:
>
> > I'm using django 1.3 and python 2.6.
>
> Isn't dictConfig() new in 2.7? It looks like that is what you are using...
Oh, my, it turns out that django includes:
# This is a copy of the Python logging.config.dictconfig m
Hi,
I took a look at the logging source code. getLogger checks for existing
loggers with the given name and if it doesn't creates one.
def getLogger(self, name):
"""
Get a logger with the specified name (channel name), creating it
if it doesn't yet exist. This name is
Roy Smith wrote:
> I'm using django 1.3 and python 2.6.
Isn't dictConfig() new in 2.7? It looks like that is what you are using...
> My logging config is:
>
>
> LOGGING = {
> 'version': 1,
> 'disable_existing_loggers': False,
> 'formatters': {
> 'verbose': {
> '
I'm using django 1.3 and python 2.6.
My logging config is:
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '%(asctime)s: %(name)s %(levelname)s %
(funcName)s %(message)s'
}
},
'handlers':