wayland: change wl_log level to G_LOG_LEVEL_DEBUG

wl_log() currently logs using G_LOG_LEVEL_ERROR
(which is fatal). The wayland client library doesn't
expect this behavior. It uses wl_log to log recoverable
errors.

This commit changes the log level to G_LOG_LEVEL_DEBUG
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=753635
This commit is contained in:
Ray Strode 2015-08-14 11:03:43 -04:00
parent 35489f5d31
commit f4d2022d46

View File

@ -398,7 +398,7 @@ static const struct wl_registry_listener registry_listener = {
static void
log_handler (const char *format, va_list args)
{
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args);
}
static void