ovs-bugtool: Change log-days parameter based on file last_mod_time.
authorShih-Hao Li <shihli@vmware.com>
Fri, 27 Sep 2013 20:15:27 +0000 (13:15 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 27 Sep 2013 21:55:43 +0000 (14:55 -0700)
commitb1361289273349b57a37c819f1393cb13c86fddd
tree0eb042f5c7c5c3c71e4f8908f064fb46494dc224
parent8fd16af26583ad6a3761e30aec458552213ec94a
ovs-bugtool: Change log-days parameter based on file last_mod_time.

Previously the log-days parameter can only support rotated logs
based on their numbered filename extension. Thus it can not be
used for other types of log filenames. This patch changes it to
be based on file last modification time.

Issue: #19671

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