Kiril Nesenko has uploaded a new change for review. Change subject: packaging: Use different timestamps for log rotation. ......................................................................
packaging: Use different timestamps for log rotation. This patch fixes the log rotation. Now different timestamps will be used for each rotated log. This is fix related to 7902858f6c8d1d3d8f2b40a7d5bdf229f3d47689 Change-Id: Ief4bce003f1649a4d1ca75156bdf9cc8d2c848e9 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=889751 Signed-off-by: Kiril Nesenko <[email protected]> --- M packaging/resources/ovirtlogrot.sh 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/46/10846/1 diff --git a/packaging/resources/ovirtlogrot.sh b/packaging/resources/ovirtlogrot.sh index 5baf8ea..45cba27 100755 --- a/packaging/resources/ovirtlogrot.sh +++ b/packaging/resources/ovirtlogrot.sh @@ -15,7 +15,7 @@ m=`expr match $i .*gz` if [ $m == 0 ] then - cat $i | gzip -9 > $i-$date.gz && rm $i + cat $i | gzip -9 > $i-${date}_`/bin/date +%N | cut -c6-`.gz && rm $i fi done; -- To view, visit http://gerrit.ovirt.org/10846 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ief4bce003f1649a4d1ca75156bdf9cc8d2c848e9 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Kiril Nesenko <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
