[ovs-dev] Can't get datapath log info from openvswitch2.1.2

Joe Stringer joestringer at nicira.com
Tue Mar 3 18:20:45 UTC 2015


ovs-appctl vlog/* doesn't handle kernel logging.

Modifying files in datapath/linux/compat/* may or may not have an
effect depending on the kernel version that you are building against;
compat code is only compiled in if the kernel doesn't have that
functionality.

On 3 March 2015 at 00:08, 苌智 <changzhi1990 at gmail.com> wrote:
> Hi,
>     I want to get log info from datapath, so I add "pr_err("error has
> occur");" in datapath/linux/compat/vxlan.c. But I can not get any error
> info from /var/log/messages after I execute "ovs-appctl vlog/set
> ANY:syslog:dbg". Could someone helps me?
>
>
> Best wishes!
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list