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
import slapos.slap
from slapos.grid.utils import md5digest
# Setup default flask (werkzeug) parser
logger = logging.getLogger('werkzeug')
logger = logging.getLogger('slaprunner')
TRUE_VALUES = (1, '1', True, 'true', 'True')
......
......@@ -45,10 +45,8 @@ app = Flask(__name__)
app.config['MAX_CONTENT_LENGTH'] = 20 * 1024 * 1024
file_request = FileBrowser(app.config)
# Setup default flask (werkzeug) parser
import logging
logger = logging.getLogger('werkzeug')
logger = logging.getLogger('slaprunner')
def login_redirect(*args, **kwargs):
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