[ovs-discuss] Logs in OVS

Ben Pfaff blp at nicira.com
Mon Nov 10 16:46:34 UTC 2014


On Sun, Nov 09, 2014 at 10:28:39AM -0800, anuj kaul wrote:
> I  have added few* VLOG_INFO* messages in* vswitchd/bridge.c* file .
> 
> I checked ovs-dbserver is  running and also ran* ovs-vsctl show* command to
> see if its working. It works fine .
> 
> When i run mininet using  command *sudo mn .* It creates the topology*. *When
> i look in logs under* /var/log/openvswitch/ovs-vswitchd.log* , I *dont* see
> my log messages which I added but I  do see other log messages in the same
> function in bridge.c

Usually this means that you really aren't running the modified binary.
Try adding something unmistakable to the source code, e.g. "abort()" as
the first statement in main, and then see if it aborts immediately at
startup.



More information about the discuss mailing list