From 45c61c92492dd6ec5444a21ebd347761af03ffe9 Mon Sep 17 00:00:00 2001 From: Lubos Kocman Date: Tue, 4 Oct 2016 15:52:24 +0200 Subject: [PATCH] Change loglevel for Dev and Test Configuration to DEBUG + note in readme --- README.rst | 6 ++++++ config.py | 2 ++ 2 files changed, 8 insertions(+) diff --git a/README.rst b/README.rst index 5fb68ad2..e1151040 100644 --- a/README.rst +++ b/README.rst @@ -382,6 +382,12 @@ states 'done' or 'ready'. Development =========== +``Logging`` +---------- + +If you're running rida from scm then the DevConfiguration from config.py which contains LOG_LEVEL=debug should get applied. If you're having trouble just change LOG_LEVEL in BaseConfiguration. +See more about it in rida/__init__.py config.from_object() + ``Docker`` ---------- diff --git a/config.py b/config.py index 9a225c3d..966f1504 100644 --- a/config.py +++ b/config.py @@ -56,6 +56,7 @@ class BaseConfiguration(object): class DevConfiguration(BaseConfiguration): LOG_BACKEND = 'console' + LOG_LEVEL = 'debug' HOST = '0.0.0.0' FAS_USERNAME = 'put your fas username here' #FAS_PASSWORD = 'put your fas password here....' @@ -64,6 +65,7 @@ class DevConfiguration(BaseConfiguration): class TestConfiguration(BaseConfiguration): LOG_BACKEND = 'console' + LOG_LEVEL = 'debug' SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:' DEBUG = True