[ovs-dev] [ovs-assert 1/4] util: Introduce ovs_assert macro.

Ben Pfaff blp at nicira.com
Tue Dec 4 20:52:52 UTC 2012


On Wed, Nov 07, 2012 at 10:48:16AM -0800, Ben Pfaff wrote:
> An occasionally significant problem with the standard "assert" macro is
> that it writes the failure message to stderr.  In our daemons, stderr is
> generally redirected to /dev/null.  It's more useful to write the failure
> message to the log, which is what the new ovs_assert macro introduced in
> this patch does.
> 
> Signed-off-by: Ben Pfaff <blp at nicira.com>

This series should make Open vSwitch assertion failures easier to
debug, so I'd like to get it reviewed soon.



More information about the dev mailing list