aboutsummaryrefslogtreecommitdiff
path: root/runserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'runserver.py')
-rwxr-xr-xrunserver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/runserver.py b/runserver.py
index a80b0c39..5f20ddd4 100755
--- a/runserver.py
+++ b/runserver.py
@@ -18,6 +18,7 @@
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+import logging
import calendar
from bootstrap import conf, application, populate_g
from flask.ext.babel import Babel
@@ -55,4 +56,4 @@ with application.app_context():
if __name__ == '__main__':
application.run(host=conf.WEBSERVER_HOST,
port=conf.WEBSERVER_PORT,
- debug=conf.WEBSERVER_DEBUG)
+ debug=conf.LOG_LEVEL <= logging.DEBUG)
bgstack15