diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-11-22 17:12:13 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-11-22 17:12:13 -0700 |
| commit | 51bed35bfb3bb862034514da257a348e33d53860 (patch) | |
| tree | 2f4a770510c71872cb42dc943f5a0fae7fdb03c9 /docs/tutorials/wiki2/src/basiclayout/development.ini | |
| parent | 18fc334f0fb0b3f8925f415031a87016ce574320 (diff) | |
| parent | eba45fd998b68d72b6e11f5b0bfa86d0ab17ee43 (diff) | |
| download | pyramid-51bed35bfb3bb862034514da257a348e33d53860.tar.gz pyramid-51bed35bfb3bb862034514da257a348e33d53860.tar.bz2 pyramid-51bed35bfb3bb862034514da257a348e33d53860.zip | |
Merge https://github.com/Pylons/pyramid
Diffstat (limited to 'docs/tutorials/wiki2/src/basiclayout/development.ini')
| -rw-r--r-- | docs/tutorials/wiki2/src/basiclayout/development.ini | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/src/basiclayout/development.ini b/docs/tutorials/wiki2/src/basiclayout/development.ini index e1d0ab598..23b01a338 100644 --- a/docs/tutorials/wiki2/src/basiclayout/development.ini +++ b/docs/tutorials/wiki2/src/basiclayout/development.ini @@ -5,8 +5,7 @@ debug_authorization = false debug_notfound = false debug_templates = true default_locale_name = en -db_string = sqlite:///%(here)s/tutorial.db -db_echo = false +sqlalchemy.url = sqlite:///%(here)s/tutorial.db [pipeline:main] pipeline = @@ -18,3 +17,37 @@ pipeline = use = egg:Paste#http host = 0.0.0.0 port = 6543 + +# Begin logging configuration + +[loggers] +keys = root, sqlalchemy + +[handlers] +keys = console + +[formatters] +keys = generic + +[logger_root] +level = INFO +handlers = console + +[logger_sqlalchemy] +level = INFO +handlers = +qualname = sqlalchemy.engine +# "level = INFO" logs SQL queries. +# "level = DEBUG" logs SQL queries and results. +# "level = WARN" logs neither. (Recommended for production systems.) + +[handler_console] +class = StreamHandler +args = (sys.stderr,) +level = NOTSET +formatter = generic + +[formatter_generic] +format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s + +# End logging configuration |
