[Spice-devel] [spice-common RFC PATCH] spice-common: log: make error level the default abort level

Marc-André Lureau mlureau at redhat.com
Sun Nov 11 10:33:38 PST 2012


Hi

----- Original Message -----
> Instead of current abort level default which is critical level.
> 
> The spice_return_if_fail and spice_return_val_if_fail macros
> log with critical level upon failure. This currently aborts
> the program.
> Instead it's better to log an error message and let the application
> continue running.

+1, and this can already be tuned by setting environment variable SPICE_ABORT_LEVEL, if users want a different behaviour.


More information about the Spice-devel mailing list