From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/recipe/
Date: Sat, 22 Feb 2014 14:56:00 +0000 (UTC) [thread overview]
Message-ID: <1393006948.97ddb120f071669bb1322de558b80dce7d086e66.dywi@gentoo> (raw)
commit: 97ddb120f071669bb1322de558b80dce7d086e66
Author: André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Fri Feb 21 18:22:28 2014 +0000
Commit: André Erdmann <dywi <AT> mailerd <DOT> 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()
next reply other threads:[~2014-02-22 14:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 14:56 André Erdmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-15 20:11 [gentoo-commits] proj/R_overlay:master commit in: roverlay/recipe/ André Erdmann
2013-11-14 18:24 André Erdmann
2013-09-06 17:27 André Erdmann
2013-07-24 9:54 André Erdmann
2013-07-11 16:29 André Erdmann
2012-07-06 22:19 André Erdmann
2012-07-05 16:00 André Erdmann
2012-06-27 14:46 André Erdmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393006948.97ddb120f071669bb1322de558b80dce7d086e66.dywi@gentoo \
--to=dywi@mailerd.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox