Try:
$ ovs-appctl vlog/set :dbg

This will enable logging for all message levels, including the DBG
level. This should
produce a lot of logs.  Once this is working, you can restart
vswitchd, or use vlog/set command
again to trim back the logging level. vlog command is documented in
vswitchd man page (ovs-vswitchd.8)



On Tue, Apr 15, 2014 at 11:17 AM, Nagashree Sharma
<[email protected]> wrote:
> 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 <[email protected]> wrote:
>>
>> Take a look at lib/vlog.h
>>
>> On Tue, Mar 25, 2014 at 2:35 AM, Nagashree Sharma
>> <[email protected]> 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 <[email protected]> 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
>> >> <[email protected]> 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
>> >> > [email protected]
>> >> > http://openvswitch.org/mailman/listinfo/dev
>> >> >
>> >
>> >
>
>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to