[PATCH libevdev 8/9] Log to stdout by default

Benjamin Tissoires benjamin.tissoires at gmail.com
Mon Sep 9 08:05:19 PDT 2013


On Tue, Sep 3, 2013 at 9:07 AM, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> The logging we do use atm inside the library is largely
> to spot application errors. Log that to stdout by default so
> it doesn't get lost.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---

Why stdout rather than stderr?

With stderr, we have the bugs/logs even if the user redirect the
output to a file, which has 90% of chances to be what's happening with
evemu.

Other than that:
Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>

Cheers,
Benjamin


More information about the Input-tools mailing list