Thank you for reply.
I installed  OVS by building Debian packages,and I can find 
ovs-vswitchd.log,ovs-pki.log,ovsdb-server.log,ovs-monitor-ipsec.log and 
ovs-brcompatd.log in /var/log/openvswitch/ by default.
I don't need to add "--log-file" option when I use ovs-vsctl commond,and I can 
find log information in ovs-vswitchd.log.
If I installed OVS by using "./configure,make,make install".I can find nothing 
in /usr/local/log/openvswitch/ by default.

That is to say if I want to view the ofctl log,I must add "--log-file" option 
every time I use ofctl commond.





At 2013-03-20 23:14:58,"Ben Pfaff" <[email protected]> wrote:
>On Wed, Mar 20, 2013 at 05:08:25PM +0800, Fang wrote:
>> I cant't find ovs-ofctl.log in /var/log/openvswitch/
>
>ovs-ofctl does not write a log file by default.
>
>> So when I use ofctl commond I must add the option:--log-file.
>> like:
>> ovs-ofctl --log-file commond ...
>> I want to know how to make OVS logging automatically,like ovs-vswitchd.log.
>
>ovs-vswitchd also does not write a log file by default, so these two
>programs already behave the same.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to