[ovs-dev] [PATCH] ovs-bugtool: Ability to collect number of logs through plugins.
Ben Pfaff
blp at nicira.com
Mon Feb 25 18:20:23 UTC 2013
On Thu, Feb 21, 2013 at 09:21:06AM -0800, Gurucharan Shetty wrote:
> A new option "--log-days" recently added lets us to control the
> number of rotated logs included in the debug bundle. This option
> only works on log files defined inside the ovs-bugtool code.
>
> This patch lets us to do the same with logs collected through plugins.
>
> The example format inside a plugin is:
> <files type="logs">
> /var/log/one
> </files>
>
> This will collect one, one.[1-x], one.[1-x].gz. Where 'x' is 20
> by default and can be controlled by the option '--log-days' passed
> to ovs-bugtool.
>
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
I am a little worried about this because it means that we will get
different behavior when we install a given plugin for use by
ovs-bugtool or for use by xen-bugtool. So far, we've been able to use
the same plugins for both. Do you have any thoughts about that?
The actual implementation looks fine.
More information about the dev
mailing list