Permalink
Browse files

Remove code that was specific to nginx/uwsgi setup

  • Loading branch information...
1 parent 617958d commit 74ed32f1e722d63ce68ba5b201082d31a7c9b382 Matt Wright committed Apr 4, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 framework/log.py
View
@@ -54,10 +54,7 @@ def __iter__(self):
formatter = logging.Formatter("%(asctime)s %(ip)s |%(levelname)s| %(message)s <%(filename)s:%(lineno)d>")
# Log identifier/file will be the same as the file being run
-try:
- name = os.path.basename(__main__.__file__).split('.')[0]
-except:
- name = 'main'
+name = os.path.basename(__main__.__file__).split('.')[0]
log = logging.getLogger(name)
# Set log level to Debug (TODO: This should be pulled from config file)

0 comments on commit 74ed32f

Please sign in to comment.