You can't choose to log just a single controller. You might use "ovs-ofctl monitor <switch> watch:" to view the changes to a switch's flow table.
On Tue, Jun 20, 2017 at 10:57:48AM +0800, Margin Hu wrote: > both are ok , In facts , I prefer to disable the logging of controller. > > > On 6/20 10:50, Ben Pfaff wrote: > >On June 20, 2017 10:36:17 AM GMT+08:00, Margin Hu <[email protected]> wrote: > > > > yes , how to do ? > > > > > > On 6/20 10:28, Ben Pfaff wrote: > > > > 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@cloud-sz-master-b12-02 ~]# ovs-appctl vlog/list > > > > I suggest "ovs-appctl vlog/set vconn". > > > > -- > >------------------------------------------------------------------------ > > Margin Hu Love open source software mail: [email protected] > > github: http://www.github.com/todaygood > > > > ------------------------------------------------------------------------ > > > > > >Which one? > > -- > --------------------------------------------- > Margin Hu > Love open source software > mail: [email protected] > github: http://www.github.com/todaygood > --------------------------------------------- > _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
