Kiril Nesenko has posted comments on this change.

Change subject: packaging: Change the timestamp of log rotation.
......................................................................


Patch Set 4: (1 inline comment)

....................................................
File packaging/resources/ovirtlogrot.sh
Line 14: for i in `ls $logdir/engine.log.* -t`; do
Line 15:  m=`expr match $i .*gz`
Line 16:  if [ $m == 0 ]
Line 17:  then
Line 18:   cat $i | gzip -9 > $i-$date.gz && rm $i
instead of 'cat $i | gzip -9 > $i-$date.gz && rm $i'
i can use:
cat $i | gzip -9 > $i-${date}_`date +%N`.gz && rm $i

Looks better ?
Line 19:  fi
Line 20: done;
Line 21: 
Line 22: #


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I1d115f9ade4bd49245f4b26e7d96b8df582d110c
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kiril Nesenko <knese...@redhat.com>
Gerrit-Reviewer: Alex Lourie <alou...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Kiril Nesenko <knese...@redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhorn...@redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgold...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to