fuel-main/nailgun/logger.py
2012-09-14 12:27:02 +00:00

17 lines
345 B
Python

# -*- coding: utf-8 -*-
from settings import settings
from wsgilog import WsgiLog
class Log(WsgiLog):
def __init__(self, application):
WsgiLog.__init__(
self,
application,
logformat='%(message)s',
tofile=False,
toprint=True,
#file=settings.LOGFILE
)