Re: [PATCH] connection: Use wl_log to report errors

2014-02-18 Thread Kristian Høgsberg
On Mon, Feb 17, 2014 at 07:04:28PM -0500, Jasper St. Pierre wrote: > In some cases, like Xwayland, stdout and stderr are redirected to > /dev/null, losing us valuable information, while wl_log can be > overridden, allowing us to send it to a log file instead. This > can help debugging immensely. >

Re: [PATCH] connection: Use wl_log to report errors

2014-02-17 Thread Jason Ekstrand
Yeah, I've wanted to do that for a while. Reviewed-By: Jason Ekstrand On Feb 17, 2014 6:04 PM, "Jasper St. Pierre" wrote: > In some cases, like Xwayland, stdout and stderr are redirected to > /dev/null, losing us valuable information, while wl_log can be > overridden, allowing us to send it to

[PATCH] connection: Use wl_log to report errors

2014-02-17 Thread Jasper St. Pierre
In some cases, like Xwayland, stdout and stderr are redirected to /dev/null, losing us valuable information, while wl_log can be overridden, allowing us to send it to a log file instead. This can help debugging immensely. --- src/connection.c | 36 ++-- 1 file chang