I tried enabling vlog for all modules & Started ovs process with log-file option. Log file gets created but nothing is logged other than the initial lines.
On Tue, Mar 25, 2014 at 6:32 PM, Andy Zhou <az...@nicira.com> wrote: > Take a look at lib/vlog.h > > On Tue, Mar 25, 2014 at 2:35 AM, Nagashree Sharma > <sharma.nagash...@gmail.com> wrote: > > is there any doc on the usage of of VLOG. the compilation works fine with > > vlog but i am not able to see the logs in the file. > > > > > > On Sun, Mar 23, 2014 at 2:29 AM, Andy Zhou <az...@nicira.com> wrote: > >> > >> You may want to give VLOG_ERR() a try. It can be used pretty much like > >> printf, except the output goes into ovs-vswitchd.log. Grep for "VLOG" > >> in OVS code base if you want examples. > >> > >> > >> On Sat, Mar 22, 2014 at 11:18 AM, Nagashree Sharma > >> <sharma.nagash...@gmail.com> wrote: > >> > Hi , > >> > > >> > I am trying to play around with Openvswitch source code. To understand > >> > the > >> > code flow , I tried adding printf's or printk in > >> > openvswitch/include/openvswitch/types.h file but there is a > compilation > >> > error. Please can you help me to find a way to add printf's? > >> > > >> > Thanks, > >> > Nagashree. > >> > > >> > _______________________________________________ > >> > dev mailing list > >> > dev@openvswitch.org > >> > http://openvswitch.org/mailman/listinfo/dev > >> > > > > > >
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev