diff options
-rw-r--r-- | src/bootstrap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap.py b/src/bootstrap.py index 2b94b1b9..f9de381a 100644 --- a/src/bootstrap.py +++ b/src/bootstrap.py @@ -15,6 +15,8 @@ def set_logging(log_path=None, log_level=logging.INFO, modules=(), if not modules: modules = ('root', 'bootstrap', 'runserver', 'web', 'crawler.classic_crawler', 'manager', 'plugins') + if conf.ON_HEROKU: + log_format = '%(levelname)s %(message)s' if log_path: handler = logging.FileHandler(log_path) else: |