From 8d06c91cb45edf58cd76516dcb13024b94246b92 Mon Sep 17 00:00:00 2001 From: Yuanle Song <sylecn@gmail.com> Date: Mon, 18 Mar 2019 11:51:32 +0800 Subject: [PATCH] v1.6.1 updated default logrotate config notifempty don't rotate if log file is empty compress compress rotated file delaycompress compress on next rotation cycle --- project.clj | 2 +- src/leiningen/new/python/conf/logrotate.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/project.clj b/project.clj index 04ece6b..1ed1106 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject python/lein-template "1.6.0" +(defproject python/lein-template "1.6.1" :description "lein template for a python project" :url "https://gitlab.emacsos.com/sylecn/python-project-template" :license {:name "Apache License 2.0" diff --git a/src/leiningen/new/python/conf/logrotate.conf b/src/leiningen/new/python/conf/logrotate.conf index b781f9e..cc9fb9f 100644 --- a/src/leiningen/new/python/conf/logrotate.conf +++ b/src/leiningen/new/python/conf/logrotate.conf @@ -4,4 +4,7 @@ copytruncate dateext missingok + notifempty + compress + delaycompress } -- GitLab