[ovs-git] Open vSwitch: ovs-bugtool: Ability to collect number of logs through plugins. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Feb 25 21:28:03 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  54e536a64f432b439832ad51dcd8ae175dac7487 (commit)
      from  0000f2845fbfa34a222a1ce3dae25b84a93f0d2d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 54e536a64f432b439832ad51dcd8ae175dac7487
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=54e536a64f432b439832ad51dcd8ae175dac7487
Author: Gurucharan Shetty <gshetty at nicira.com>
		
ovs-bugtool: Ability to collect number of logs through plugins.
		
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>


-----------------------------------------------------------------------

Summary of changes:
 utilities/bugtool/ovs-bugtool.in |   39 +++++++++++++++++++++++--------------
 1 files changed, 24 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list