chiark / gitweb /
meson: libudev_core and udevadm should have LOG_REALM=LOG_REALM_UDEV (#7666)
authorFranck Bui <fbui@suse.com>
Sat, 16 Dec 2017 08:36:36 +0000 (09:36 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:38 +0000 (07:49 +0200)
Otherwise, setting udev_log=debug in /etc/udev/udev.conf has no effects since
systemd-udevd is built with LOG_REALM=LOG_REALM_UDEV.

However using LOG_REALM_UDEV (for libudev_core) reveals another similar bug for
udevadm which should also define LOG_REALM_UDEV.

meson.build

index 147355578645cd747418f6f8cd89a0373ed461a6..41ea204e78c2d1abd2693f3a7cf5fdbd7a818249 100644 (file)
@@ -2552,6 +2552,7 @@ executable('elogind-cgroups-agent',
 # 
 # exe = executable('udevadm',
 #                  udevadm_sources,
+#                  c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
 #                  include_directories : includes,
 #                  link_with : [libudev_core,
 #                               libsystemd_network,