aboutsummaryrefslogtreecommitdiffstats
path: root/Bugs-Everywhere-Web/beweb/config/log.cfg
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2006-12-05 16:08:03 -0500
committerAaron Bentley <abentley@panoramicfeedback.com>2006-12-05 16:08:03 -0500
commitea15510609d1516000daa8a685731df5d549bfba (patch)
tree123012cb2e0d0d31c3b32977b870a08966859835 /Bugs-Everywhere-Web/beweb/config/log.cfg
parent43fe901fa3f239b57e2343fbca322f2f5a91320f (diff)
downloadbugseverywhere-ea15510609d1516000daa8a685731df5d549bfba.tar.gz
Mostly upgrade to turbogears 1.0b1
Diffstat (limited to 'Bugs-Everywhere-Web/beweb/config/log.cfg')
-rw-r--r--Bugs-Everywhere-Web/beweb/config/log.cfg29
1 files changed, 29 insertions, 0 deletions
diff --git a/Bugs-Everywhere-Web/beweb/config/log.cfg b/Bugs-Everywhere-Web/beweb/config/log.cfg
new file mode 100644
index 0000000..ce776f8
--- /dev/null
+++ b/Bugs-Everywhere-Web/beweb/config/log.cfg
@@ -0,0 +1,29 @@
+# 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,)'