On Mon, Feb 22, 2021 at 12:25:22PM +0100, Benjamin Drung wrote:
> Package: openvswitch-switch
> Version: 2.15.0+ds1-2
> Severity: normal
> 
> Hi,
> 
> Since we run into a log spam issue (probably upstream bug #135 [1]), we
> want to raise the log level and disable the logging to file (syslog is
> enough for us).
> 
> Sadly `/usr/share/openvswitch/scripts/ovs-ctl` (called by
> ovsdb-server.service) hard-codes the log levels and has no way to
> configure them:
> 
> ```
> set "$@" -vconsole:emer -vsyslog:err -vfile:info
> ```
> 
> Please support configuring the log levels via
> `/etc/default/openvswitch-switch`.

I think you can do that already in /etc/default/openvswitch-switch with
        OVS_CTL_OPTS='--ovs-vswitchd-options=-vwhatever'
It can undoubtedly be improved (I'm not sure multiword options will
work).

Open vSwitch works pretty hard to not spam log files, so I'd encourage
you to report whatever excessive logging you're seeing to upstream.

Reply via email to