Skip to content


global name 'logger' is not defined #6

DrMartiner opened this Issue · 2 comments

2 participants



It's grate application!

I got error:
NameError at /

global name 'logger' is not defined

Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.4
Exception Type: NameError
Exception Value:

global name 'logger' is not defined

Exception Location: /path/to/env/src/package/coldbrew/ in compile, line 25
Python Executable: /path/to/env/bin/python
Python Version: 2.7.2

slashRoot tech collective member

You're right. We don't have any tests that cover the error handling, so this one slipped through the cracks.


import logging
logger = logging.getLogger('coldbrew')

@jMyles jMyles added a commit that closed this issue
@jMyles jMyles Fixes #6
With tests.
@jMyles jMyles closed this in 02eead8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.