Commit d1bd058e authored by Nicolas Wavrant's avatar Nicolas Wavrant

runner: get correct logger

parent 93668a6c
...@@ -29,9 +29,7 @@ from passlib.apache import HtpasswdFile ...@@ -29,9 +29,7 @@ from passlib.apache import HtpasswdFile
import slapos.slap import slapos.slap
from slapos.grid.utils import md5digest from slapos.grid.utils import md5digest
# Setup default flask (werkzeug) parser logger = logging.getLogger('slaprunner')
logger = logging.getLogger('werkzeug')
TRUE_VALUES = (1, '1', True, 'true', 'True') TRUE_VALUES = (1, '1', True, 'true', 'True')
......
...@@ -45,10 +45,8 @@ app = Flask(__name__) ...@@ -45,10 +45,8 @@ app = Flask(__name__)
app.config['MAX_CONTENT_LENGTH'] = 20 * 1024 * 1024 app.config['MAX_CONTENT_LENGTH'] = 20 * 1024 * 1024
file_request = FileBrowser(app.config) file_request = FileBrowser(app.config)
# Setup default flask (werkzeug) parser
import logging import logging
logger = logging.getLogger('werkzeug') logger = logging.getLogger('slaprunner')
def login_redirect(*args, **kwargs): def login_redirect(*args, **kwargs):
return redirect(url_for('login')) return redirect(url_for('login'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment