[ovs-dev] [PATCH 1/2] ovn-ctl: Add -vfile:info option to OVN_NB/SB_LOG options

Mark Michelson mmichels at redhat.com
Tue Nov 7 20:34:16 UTC 2017


Looks good to me.

On Tue, Nov 7, 2017 at 9:31 AM <nusiddiq at redhat.com> wrote:

> From: Numan Siddique <nusiddiq at redhat.com>
>
> In the RHEL environment, when OVN db servers are started using ovn-ctl,
> log files are empty. Adding "-vfile:info" option to ovsdb-server is
> resolving this issue. Running 'ovs-apptctl -t .. vlog/reopen" results in
> the
> logs appearing in the log files. This issue is seen with 2.7.2.
>
> "-vfile:info" option is passed to ovn-northd and ovn-controller when
> starting.
> There is no harm in adding this to OVN db servers.
>
> Signed-off-by: Numan Siddique <nusiddiq at redhat.com>
>
Acked-by: Mark Michelson <mmichels at redhat.com>

> ---
>  ovn/utilities/ovn-ctl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl
> index 3e247a1c6..4cfe59b5b 100755
> --- a/ovn/utilities/ovn-ctl
> +++ b/ovn/utilities/ovn-ctl
> @@ -369,8 +369,8 @@ set_defaults () {
>      OVN_CONTROLLER_LOG="-vconsole:emer -vsyslog:err -vfile:info"
>      OVN_NORTHD_LOG="-vconsole:emer -vsyslog:err -vfile:info"
>      OVN_NORTHD_LOGFILE=""
> -    OVN_NB_LOG="-vconsole:off"
> -    OVN_SB_LOG="-vconsole:off"
> +    OVN_NB_LOG="-vconsole:off -vfile:info"
> +    OVN_SB_LOG="-vconsole:off -vfile:info"
>      OVN_NB_LOGFILE="$logdir/ovsdb-server-nb.log"
>      OVN_SB_LOGFILE="$logdir/ovsdb-server-sb.log"
>
> --
> 2.13.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>


More information about the dev mailing list