aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-06-23 13:26:44 -0400
committerChris Michael <cp.michael@samsung.com>2015-06-23 13:27:28 -0400
commite399e9df4a7c885b3e502bc3fb8ae5cb7d1d7351 (patch)
treebc797bd62c06ce97962564bc8ce5b92b3d275a48 /src/lib/ecore_drm
parenteolian: relax doc parsing a little (no need to check if @since is allowed) (diff)
downloadefl-e399e9df4a7c885b3e502bc3fb8ae5cb7d1d7351.tar.gz
ecore-drm: Quiet down output from libinput
Summary: As libinput has matured enough now, we can reduce the noise in outputs logs by adjusting libinput log level priority @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_inputs.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_inputs.c b/src/lib/ecore_drm/ecore_drm_inputs.c
index 7429e28a65..75655ec1db 100644
--- a/src/lib/ecore_drm/ecore_drm_inputs.c
+++ b/src/lib/ecore_drm/ecore_drm_inputs.c
@@ -214,7 +214,6 @@ EAPI Eina_Bool
ecore_drm_inputs_create(Ecore_Drm_Device *dev)
{
Ecore_Drm_Input *input;
- int level, priority = LIBINPUT_LOG_PRIORITY_ERROR;
/* check for valid device */
EINA_SAFETY_ON_NULL_RETURN_VAL(dev, EINA_FALSE);
@@ -235,27 +234,8 @@ ecore_drm_inputs_create(Ecore_Drm_Device *dev)
goto err;
}
- /* get the current eina_log level */
- level = eina_log_domain_registered_level_get(_ecore_drm_log_dom);
- switch (level)
- {
- case EINA_LOG_LEVEL_DBG:
- priority = LIBINPUT_LOG_PRIORITY_DEBUG;
- break;
- case EINA_LOG_LEVEL_INFO:
- priority = LIBINPUT_LOG_PRIORITY_INFO;
- break;
- case EINA_LOG_LEVEL_CRITICAL:
- case EINA_LOG_LEVEL_ERR:
- case EINA_LOG_LEVEL_WARN:
- priority = LIBINPUT_LOG_PRIORITY_ERROR;
- break;
- default:
- break;
- }
-
/* set libinput log priority */
- libinput_log_set_priority(input->libinput, priority);
+ libinput_log_set_priority(input->libinput, LIBINPUT_LOG_PRIORITY_INFO);
/* assign udev seat */
if (libinput_udev_assign_seat(input->libinput, dev->seat) != 0)