This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[calm - Cygwin server-side packaging maintenance script] branch master, updated. 7f6be0487e494b6d00ea2f2c080ff4349457bb2c




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=7f6be0487e494b6d00ea2f2c080ff4349457bb2c

commit 7f6be0487e494b6d00ea2f2c080ff4349457bb2c
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Mon Mar 21 12:49:54 2016 +0000

    Increase the number of log rotations kept

https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=5330f4d9f25e8f2be88c3fa466f0135691992d6c

commit 5330f4d9f25e8f2be88c3fa466f0135691992d6c
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Mon Mar 21 12:49:05 2016 +0000

    Update build status URL


Diff:
---
 README.md |    2 +-
 calm.py   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index b67aedc..195e6c3 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-[![Build Status](https://travis-ci.org/jon-turney/calm.svg?branch=master)](https://travis-ci.org/jon-turney/calm)
+[![Build Status](https://travis-ci.org/cygwin/calm.svg?branch=master)](https://travis-ci.org/cygwin/calm)
 
 # calm 
 
diff --git a/calm.py b/calm.py
index 9638d9e..d4568d4 100755
--- a/calm.py
+++ b/calm.py
@@ -171,7 +171,7 @@ if __name__ == "__main__":
         os.makedirs(args.logdir, exist_ok=True)
     except FileExistsError:
         pass
-    rfh = logging.handlers.RotatingFileHandler(os.path.join(args.logdir, 'calm.log'), backupCount=24)
+    rfh = logging.handlers.RotatingFileHandler(os.path.join(args.logdir, 'calm.log'), backupCount=48)
     rfh.doRollover()  # force a rotate on every run
     rfh.setFormatter(logging.Formatter('%(asctime)s - %(levelname)-8s - %(message)s'))
     rfh.setLevel(logging.INFO)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]