On Thu, Feb 14, 2013 at 01:28:18PM -0800, Gurucharan Shetty wrote: > 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 <gshe...@nicira.com>
I think that using range(n) tries to collect a log file with a .0 extension. I don't think logrotate generates those; I don't see any on my system here. I guess that's harmless and an existing oddity, though. Otherwise looks good, thanks. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev