From 9fe880305bd6d6d8a6c9245bbb99a2580170f3e4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 23 May 2019 23:26:40 +0200 Subject: [PATCH] totpcgi: fix logging config Signed-off-by: Patrick Uiterwijk --- roles/totpcgi/files/index.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/totpcgi/files/index.cgi b/roles/totpcgi/files/index.cgi index 1249628d0f..de3d066eac 100755 --- a/roles/totpcgi/files/index.cgi +++ b/roles/totpcgi/files/index.cgi @@ -22,13 +22,12 @@ import re import sys import cgi import logging +logging.basicConfig(level=logging.INFO) import urllib2 import totpcgi import totpcgi.backends -logging.basicConfig(level=logging.info) - if len(sys.argv) > 1: # blindly assume it's the config file config_file = sys.argv[1]