On Tue, Nov 03, 2015 at 11:46:14PM +0800, wenhao...@gmail.com wrote:
> I'm trying to add something into datapath module and need to use vlog
> for debugging.
> 
> I tried to put 
> #include "vlog.h" 
> at the biginning of datapath.c as well as 
> VLOG_DEFINE_THIS_MODULE(datapath);
> I still got nothing in /var/log/openvswitch/ovs-vswitchd.log from the function
> VLOG_INFO("HELLO WORLD");
> in ovs_dp_process_packet function.
> 
> what should i do?

datapath.c is part of the kernel, it's not going to work to use the OVS
userspace logging.  It won't even compile.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to