From 68e86bda88b948d4de858b1ef1855789f30a1074 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 21 Jun 2016 09:56:30 +0000 Subject: Logger: message wording --- wqflask/dbFunction/webqtlDatabaseFunction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask') diff --git a/wqflask/dbFunction/webqtlDatabaseFunction.py b/wqflask/dbFunction/webqtlDatabaseFunction.py index 846d5146..e30929d2 100644 --- a/wqflask/dbFunction/webqtlDatabaseFunction.py +++ b/wqflask/dbFunction/webqtlDatabaseFunction.py @@ -51,7 +51,7 @@ def fetchone(query): """Return tuple containing one row by calling SQL directly """ - with Bench("SQL took",LOG_SQL): + with Bench("SQL",LOG_SQL): def helper(query): res = g.db.execute(query) return res.fetchone() @@ -62,7 +62,7 @@ def gn_server(path): """Return JSON record by calling GN_SERVER """ - with Bench("GN_SERVER took",LOG_SQL): + with Bench("GN_SERVER",LOG_SQL): res = urllib2.urlopen("http://localhost:8880/"+path) rest = res.read() res2 = json.loads(rest) -- cgit v1.2.3