Kiril Nesenko has uploaded a new change for review.

Change subject: engine: Change the timestamp of log rotation (BZ#889751)
......................................................................

engine: Change the timestamp of log rotation (BZ#889751)

https://bugzilla.redhat.com/show_bug.cgi?id=889751

Changed the timestamp of the log rotation to make it more clear to a
user when the log was rotated.

Change-Id: I1d115f9ade4bd49245f4b26e7d96b8df582d110c
Signed-off-by: Kiril Nesenko <knese...@redhat.com>
---
M packaging/resources/ovirtlogrot.sh
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/10/10810/1

diff --git a/packaging/resources/ovirtlogrot.sh 
b/packaging/resources/ovirtlogrot.sh
index 78475b7..dbeafc8 100755
--- a/packaging/resources/ovirtlogrot.sh
+++ b/packaging/resources/ovirtlogrot.sh
@@ -7,7 +7,7 @@
 
 logdir=$1
 maxage=$2
-dateformat="+%Y%m%d_%H"
+dateformat="+%Y%m%d_%H%M"
 
 date=`date $dateformat`
 
@@ -31,4 +31,3 @@
   rm -f $logdir/engine.log.*$timestamp.gz
  fi
 done
-


--
To view, visit http://gerrit.ovirt.org/10810
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d115f9ade4bd49245f4b26e7d96b8df582d110c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kiril Nesenko <knese...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to