summaryrefslogtreecommitdiffstats
path: root/rp_meyzieu/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'rp_meyzieu/config.py')
-rw-r--r--rp_meyzieu/config.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/rp_meyzieu/config.py b/rp_meyzieu/config.py
index 2105f22..da275f8 100644
--- a/rp_meyzieu/config.py
+++ b/rp_meyzieu/config.py
@@ -10,7 +10,7 @@ _PROJECT_PATH = os.path.join(os.path.dirname(__file__), '..')
# dialect+driver://username:password@host:port/database
db_url = 'sqlite:///' + os.path.join(_PROJECT_PATH, 'rp_meyzieu.db')
-debug = True
+debug = False
# Log configuration
LOGGING = {
@@ -22,9 +22,8 @@ LOGGING = {
'format': '%(asctime)s %(levelname)s %(message)s',
'datefmt': '%H:%M:%S',
},
- 'file': {
- 'format': '%(asctime)s %(levelname)s %(uuid)s %(message)s',
- 'datefmt': '%Y-%m-%d %H:%M:%S'
+ 'syslog': {
+ 'format': 'mandaye-meyzieu(pid=%(process)d) %(name)s %(levelname)s %(uuid)s %(message)s',
}
},
'handlers': {
@@ -36,7 +35,7 @@ LOGGING = {
'syslog': {
'level': 'INFO',
'class': 'entrouvert.logging.handlers.SysLogHandler',
- 'formatter': 'file',
+ 'formatter': 'syslog',
'address': '/dev/log'
},
},
@@ -84,7 +83,7 @@ email_from = 'traceback@entrouvert.com'
email_to = ['admin@localhost']
# Use long traceback with xtraceback
-use_long_trace = True
+use_long_trace = False
# Ask Mandaye to auto decompress a response message
# Decompress response only if you load a filter