[ovs-discuss] [Question] how can I set debug log level
Ben Pfaff
blp at ovn.org
Tue Jun 20 02:28:33 UTC 2017
Do you want to disable the logging or the controller?
On Tue, Jun 20, 2017 at 10:23:39AM +0800, Margin Hu wrote:
> thanks , you're right , I can capture the changement as following:
>
> 340483:2017-06-20T02:17:20.825Z|62030|vconn|DBG|unix: received:
> OFPT_FLOW_MOD (xid=0x2): ADD actions=NORMAL
> 340486:2017-06-20T02:17:20.825Z|62033|connmgr|INFO|provision<->unix: 1
> flow_mods in the last 0 s (1 adds)
> 341089:2017-06-20T02:18:29.545Z|62376|vconn|DBG|unix: received:
> NXT_FLOW_MOD_TABLE_ID (xid=0x2): enable
> 341092:2017-06-20T02:18:29.545Z|62379|vconn|DBG|unix: received:
> OFPT_FLOW_MOD (xid=0x4): ADD table:1 actions=NORMAL
> 341095:2017-06-20T02:18:29.545Z|62382|connmgr|INFO|provision<->unix: 1
> flow_mods in the last 0 s (1 adds)
> 341754:2017-06-20T02:19:35.742Z|62746|vconn|DBG|unix: received:
> NXT_FLOW_MOD_TABLE_ID (xid=0x2): enable
> 341757:2017-06-20T02:19:35.742Z|62749|vconn|DBG|unix: received:
> OFPT_FLOW_MOD (xid=0x4): DEL table:1 actions=drop
>
> but the ovs-vswitchd.log is filled with useless info such as:
>
> 2017-06-20T02:21:31.658Z|63348|vconn|DBG|tcp:127.0.0.1:6633: received:
> OFPST_PORT_DESC request (OF1.3) (xid=0x61e993ec): port=ANY
> 2017-06-20T02:21:31.658Z|63349|vconn|DBG|tcp:127.0.0.1:6633: sent (Success):
> OFPST_PORT_DESC reply (OF1.3) (xid=0x61e993ec):
> 1(bond0): addr:24:8a:07:55:41:e8
> config: 0
> state: 0
> speed: 0 Mbps now, 0 Mbps max
> 2(phy-provision): addr:26:40:cc:43:82:5d
> config: 0
> state: 0
> speed: 0 Mbps now, 0 Mbps max
> LOCAL(provision): addr:24:8a:07:55:41:e8
> config: 0
> state: 0
> speed: 0 Mbps now, 0 Mbps max
>
> "tcp:127.0.0.1:6633" seems is a controller, I don't know what goodness after
> use it , do you know ?
>
> how can I disable it ?
>
>
>
> On 6/20 9:52, Ben Pfaff wrote:
> >On Tue, Jun 20, 2017 at 08:49:23AM +0800, Margin Hu wrote:
> >>My openvswitch version is openvswitch-2.6.1-4.1.git20161206.el7.x86_64 ,
> >>
> >>can you appoint out set which module for my target ?
> >>
> >>[root at cloud-sz-master-b12-02 ~]# ovs-appctl vlog/list
> >I suggest "ovs-appctl vlog/set vconn".
>
> --
> ---------------------------------------------
> Margin Hu
> Love open source software
> mail: jhu_com at qq.com
> github: http://www.github.com/todaygood
> ---------------------------------------------
>
>
>
More information about the discuss
mailing list