Skip to content

Instantly share code, notes, and snippets.

@jimklo
Created January 9, 2012 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimklo/1584446 to your computer and use it in GitHub Desktop.
Save jimklo/1584446 to your computer and use it in GitHub Desktop.
Learning Registry configuration file
[app:main]
use = config:development.ini
[loggers]
keys = root, routes, lr
[formatter_generic]
datefmt = %H:%M:%S
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
[handler_console]
formatter = generic
args = (sys.stderr,)
class = StreamHandler
level = NOTSET
[handlers]
keys = console
[logger_lr]
handlers =
qualname = lr
level = DEBUG
[formatters]
keys = generic
[logger_root]
handlers = console
level = INFO
[logger_routes]
handlers =
qualname = routes.middleware
level = INFO
[uwsgi]
socket = 127.0.0.1:5000
master = true
processes = 1
daemonize = /var/log/learningregistry/uwsgi.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment