view examples/turbogears/genshitest/config/log.cfg @ 303:4c8e1c1700a0 stable-0.3.x

Ported [374] to 0.3.x branch.
author cmlenz
date Mon, 16 Oct 2006 09:27:00 +0000
parents 24757b771651
children
line wrap: on
line source
# LOGGING
# Logging is often deployment specific, but some handlers and
# formatters can be defined here.

[logging]
[[formatters]]
[[[message_only]]]
format='*(message)s'

[[[full_content]]]
format='*(asctime)s *(name)s *(levelname)s *(message)s'

[[handlers]]
[[[debug_out]]]
class='StreamHandler'
level='DEBUG'
args='(sys.stdout,)'
formatter='full_content'

[[[access_out]]]
class='StreamHandler'
level='INFO'
args='(sys.stdout,)'
formatter='message_only'

[[[error_out]]]
class='StreamHandler'
level='ERROR'
args='(sys.stdout,)'
Copyright (C) 2012-2017 Edgewall Software