diff options
Diffstat (limited to 'src/udev/accelerometer')
-rw-r--r-- | src/udev/accelerometer/accelerometer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/accelerometer/accelerometer.c b/src/udev/accelerometer/accelerometer.c index 08be363370..b8ed7b8edd 100644 --- a/src/udev/accelerometer/accelerometer.c +++ b/src/udev/accelerometer/accelerometer.c @@ -277,8 +277,8 @@ int main (int argc, char** argv) switch (option) { case 'd': debug = 1; - if (udev_get_log_priority(udev) < LOG_INFO) - udev_set_log_priority(udev, LOG_INFO); + log_set_max_level(LOG_DEBUG); + udev_set_log_priority(udev, LOG_DEBUG); break; case 'h': help(); |