On 11/1/13 3:12 PM, Jayanth Silesh wrote:
Hello All,
I just switched from the User switch to OVS implementation and trying
to modifying couple of stuff.
In user switch I used to use VLOG_ERR() to output my print statements
where ever I could not use printf().
I tried the same in the OVS, I used printf() and it threw errors. So I
used the VLOG_ERR() to log my messages.
Since you are adding output for debugging purposes, it's more correct to
use VLOG_DBG().
It compiled and ran but it does not log any statement in the files.
I have checked in the following files,
/var/log/syslong
/var/log/openvswitch/*
You should start ovs-vswitchd specifying the log file name.
(--log-file=/var/log/openvswitch/ovs-vswitchd.log)
Also, is there a better logging system in OVS since I cannot use
printf() in all the files.
I'd say the VLOG logging system is good enough.
HTH,
-Lori
Thanks in advance.
--
Jayanth Silesh
317-476-2599
Graduate Student,
University of Southern California
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss