ovs-bugtool: Ability to collect the number of rotated logs.
authorGurucharan Shetty <gshetty@nicira.com>
Thu, 14 Feb 2013 03:17:42 +0000 (19:17 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Thu, 14 Feb 2013 22:14:33 +0000 (14:14 -0800)
commitced171980cbe8c9eb430e920ff6854287831c335
tree7be2f845c2e188922bcbe4b1d0e55fc9d0606cf8
parent659fd90c570487b9b7a2f37dddf30a7eced927d4
ovs-bugtool: Ability to collect the number of rotated logs.

A big reason for a large debug bundle size is the size of log
files. By default we collect 20 rotated logs for each logfile.
Most of the times we collect the debug bundle as soon as we
hit a bug. In such cases, we know that we need only one day's
worth of logs.

This patch adds an option, '--log-days' to ovs-bugtool wherein
we can specify how many days worth of rotated logs do we need
as part of the debug bundle.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
utilities/bugtool/ovs-bugtool.8.in
utilities/bugtool/ovs-bugtool.in