Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global name 'logging' is not defined (in base.py) #3

Open
rbucker opened this issue Jan 26, 2012 · 0 comments
Open

global name 'logging' is not defined (in base.py) #3

rbucker opened this issue Jan 26, 2012 · 0 comments

Comments

@rbucker
Copy link

rbucker commented Jan 26, 2012

working from the latest committed on GH I'm getting an error when I mask my Handler function with @async.

File "/Users/rbucker/.virtualenvs/spotify/lib/python2.7/site-packages/tornadorpc/base.py", line 161, in dispatch
    logging.warning(message)
NameError: global name 'logging' is not defined

Note that on line 161 there is the call:

logging.warning(message)

however, you have not imported the logging global from either python or TornadoWeb.

chris-allan added a commit to chris-allan/tornadorpc that referenced this issue Jan 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant