Commit 92fcd5dd authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

controllers: log, update some levels

parent fe4cecb3
......@@ -109,7 +109,7 @@ def get_data():
data["samples"]["original_names"].append(filename)
data["samples"]["info"].append(row.sequence_file.info)
log.info("get_data: %s -> %s" % (request.vars["patient_id"], fused_file))
log.debug("get_data: %s -> %s" % (request.vars["patient_id"], fused_file))
return gluon.contrib.simplejson.dumps(data, separators=(',',':'))
else :
......
......@@ -8,7 +8,7 @@ if request.env.http_origin:
## return patient file list
##
def info():
log.info('patient (%s)' % request.vars["id"])
log.debug('patient (%s)' % request.vars["id"])
if (auth.has_permission('read', 'patient', request.vars["id"]) ):
return dict(message=T('patient'))
else :
......@@ -23,7 +23,7 @@ def index():
if not auth.user :
res = {"redirect" : "default/user/login"}
return gluon.contrib.simplejson.dumps(res, separators=(',',':'))
log.info('patient list')
log.debug('patient list')
return dict(message=T(''))
......
......@@ -23,7 +23,7 @@ def run_all():
res = {"success" : "true",
"message" : "rerun all"}
log.info(res)
log.warning(res)
return gluon.contrib.simplejson.dumps(res, separators=(',',':'))
## display run page result
......
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