]> git.mdlowis.com Git - proto/labwc.git/commit
desktop-entry: demote libsfdo error-logging
authorJohan Malm <jgm323@gmail.com>
Fri, 27 Dec 2024 22:19:35 +0000 (22:19 +0000)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 30 Dec 2024 22:39:02 +0000 (23:39 +0100)
commit304a94e716551b9056b0a8792d8dc49f5d5c9784
tree9d5946212df0c03c5ddf8c6b9aac2ca975617233
parentcd3d88974c272798f73c68761bae0070b853ac80
desktop-entry: demote libsfdo error-logging

...to WLR_INFO to avoid logging issues with .desktop files as errors, for
example:

    [sfdo-desktop] 1:1: Name is unset
    [sfdo-desktop] Failed to load /usr/share/applications/lxqt-panel.desktop
    [sfdo-desktop] 1:1: Exec is unset while DBusActivatable is unset or false
    [sfdo-desktop] Failed to load /usr/share/applications/qemu.desktop

Also make libsfdo debug/info logging depend on environment variable
LABWC_DEBUG_LIBSFDO being set to avoid disproportionately verbose logging
by default for one particular sub-system.

Add an 'ENVIRONMENT VARIABLES' section to labwc(1) to describe the above
as well as other hitherto undocumented env vars with prefix LABWC_DEBUG_.
docs/labwc.1.scd
src/desktop-entry.c