From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A3750138EF4 for ; Sat, 22 Feb 2014 14:56:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CBA8E0B72; Sat, 22 Feb 2014 14:56:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8280FE0B72 for ; Sat, 22 Feb 2014 14:56:02 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A157133FAB5 for ; Sat, 22 Feb 2014 14:56:01 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 70F83188C8 for ; Sat, 22 Feb 2014 14:56:00 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1393006948.97ddb120f071669bb1322de558b80dce7d086e66.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/recipe/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/recipe/easylogger.py X-VCS-Directories: roverlay/recipe/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 97ddb120f071669bb1322de558b80dce7d086e66 X-VCS-Branch: master Date: Sat, 22 Feb 2014 14:56:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bdbd6fec-a495-4724-802f-c74b6e2b4fc7 X-Archives-Hash: 44d9bffc21d5d5105d87cf94c54149a2 commit: 97ddb120f071669bb1322de558b80dce7d086e66 Author: André Erdmann mailerd de> AuthorDate: Fri Feb 21 18:22:28 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Fri Feb 21 18:22:28 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=97ddb120 roverlay/, logging: rotate log files by default change some logging defaults: LOG_FILE_ROTATE: false -> true LOG_FILE_ROTATE_COUNT: 3 -> 5 --- roverlay/recipe/easylogger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roverlay/recipe/easylogger.py b/roverlay/recipe/easylogger.py index 2b6281b..a782eec 100644 --- a/roverlay/recipe/easylogger.py +++ b/roverlay/recipe/easylogger.py @@ -129,7 +129,7 @@ def setup_file ( conf ): logfile = conf.get ( 'LOG.FILE.file' ) if not logfile or not conf.get ( 'LOG.FILE.enabled', True ): return - rotating = conf.get ( 'LOG.FILE.rotate', False ) + rotating = conf.get ( 'LOG.FILE.rotate', True ) logdir = os.path.dirname ( logfile ) if not os.path.isdir ( logdir ): @@ -151,7 +151,7 @@ def setup_file ( conf ): fh = logging.handlers.RotatingFileHandler ( logfile, - backupCount=conf.get ( 'LOG.FILE.rotate_count', 3 ) + backupCount=conf.get ( 'LOG.FILE.rotate_count', 5 ) ) if rotate_now: fh.doRollover()