From nobody Sat Apr 20 04:30:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of ovirt.org designates 66.187.230.42 as permitted sender) client-ip=66.187.230.42; envelope-from=kimchi-devel-bounces@ovirt.org; helo=lists.ovirt.org; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of ovirt.org designates 66.187.230.42 as permitted sender) smtp.mailfrom=kimchi-devel-bounces@ovirt.org; Return-Path: Received: from lists.ovirt.org (lists.phx.ovirt.org [66.187.230.42]) by mx.zohomail.com with SMTPS id 1487678765336989.0975395744373; Tue, 21 Feb 2017 04:06:05 -0800 (PST) Received: from lists.phx.ovirt.org (localhost [127.0.0.1]) by lists.ovirt.org (Postfix) with ESMTP id 19E258205C3; Tue, 21 Feb 2017 12:06:02 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.ovirt.org (Postfix) with ESMTPS id 8C652820528 for ; Tue, 21 Feb 2017 12:05:34 +0000 (UTC) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v1LC3ts1141781 for ; Tue, 21 Feb 2017 07:05:33 -0500 Received: from e24smtp01.br.ibm.com (e24smtp01.br.ibm.com [32.104.18.85]) by mx0b-001b2d01.pphosted.com with ESMTP id 28rku6bsk5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 21 Feb 2017 07:05:33 -0500 Received: from localhost by e24smtp01.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 Feb 2017 09:05:31 -0300 Received: from d24dlp01.br.ibm.com (9.18.248.204) by e24smtp01.br.ibm.com (10.172.0.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 21 Feb 2017 09:05:29 -0300 Received: from d24relay03.br.ibm.com (d24relay03.br.ibm.com [9.18.232.225]) by d24dlp01.br.ibm.com (Postfix) with ESMTP id 4E1B8352005F for ; Tue, 21 Feb 2017 07:04:55 -0500 (EST) Received: from d24av05.br.ibm.com (d24av05.br.ibm.com [9.18.232.44]) by d24relay03.br.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v1LC5KaH23920806 for ; Tue, 21 Feb 2017 09:05:28 -0300 Received: from d24av05.br.ibm.com (localhost [127.0.0.1]) by d24av05.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v1LC4v6i031783 for ; Tue, 21 Feb 2017 09:04:57 -0300 Received: from jarvis.ibmmodules.com ([9.85.137.197]) by d24av05.br.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v1LC4tlJ031684 for ; Tue, 21 Feb 2017 09:04:56 -0300 X-Original-To: kimchi-devel@ovirt.org From: Ramon Medeiros To: Kimchi Devel Date: Tue, 21 Feb 2017 09:04:38 -0300 X-Mailer: git-send-email 2.9.3 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17022112-1523-0000-0000-0000028187E9 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17022112-1524-0000-0000-00002A169431 Message-Id: <20170221120438.11093-1-ramonn@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-02-21_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=43 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702210118 Subject: [Kimchi-devel] [PATCH] [Wok] Bug fix #203: set default loglevel to INFO X-BeenThere: kimchi-devel@ovirt.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: kimchi-devel-bounces@ovirt.org Errors-To: kimchi-devel-bounces@ovirt.org X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Ramon Medeiros Reviewed-By: Lucio Correia --- src/wok.conf.in | 2 +- src/wok/config.py.in | 2 +- src/wok/server.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wok.conf.in b/src/wok.conf.in index 3806609..1ebdacf 100644 --- a/src/wok.conf.in +++ b/src/wok.conf.in @@ -37,7 +37,7 @@ #log_dir =3D @localstatedir@/log/wok =20 # Logging level: debug, info, warning, error or critical -#log_level =3D debug +#log_level =3D info =20 [authentication] # Authentication method, available option: pam, ldap. diff --git a/src/wok/config.py.in b/src/wok/config.py.in index 8782a5f..97776dd 100644 --- a/src/wok/config.py.in +++ b/src/wok/config.py.in @@ -28,7 +28,7 @@ __version__ =3D "@wokversion@" __release__ =3D "@wokrelease@" =20 CACHEEXPIRES =3D 31536000 # expires is one year. -DEFAULT_LOG_LEVEL =3D "debug" +DEFAULT_LOG_LEVEL =3D "info" =20 FONT_FILES =3D {'fontawesome': ['fontawesome-webfont.ttf'], 'opensans': ['OpenSans-ExtraBoldItalic.ttf', diff --git a/src/wok/server.py b/src/wok/server.py index fc2e167..7133233 100644 --- a/src/wok/server.py +++ b/src/wok/server.py @@ -103,7 +103,7 @@ class Server(object): cherrypy.log.access_file =3D options.access_log cherrypy.log.error_file =3D options.error_log =20 - logLevel =3D LOGGING_LEVEL.get(options.log_level, logging.DEBUG) + logLevel =3D LOGGING_LEVEL.get(options.log_level, logging.INFO) dev_env =3D options.environment !=3D 'production' =20 # Enable cherrypy screen logging if running environment --=20 2.9.3 _______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel