summaryrefslogtreecommitdiff
path: root/oci-authenticator
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-12-14 13:14:34 +0000
committerSimon McVittie <smcv@debian.org>2022-12-14 20:02:35 +0000
commitac4e322629c2a11fd921fc2977bb29f18d072ad3 (patch)
tree4773ffdedb73f4dcb20b1a7831017a76b6f8fd98 /oci-authenticator
parent87c9fccdb23d57c6f71da5661a1edfaa2ecaa56c (diff)
downloadflatpak-ac4e322629c2a11fd921fc2977bb29f18d072ad3.tar.gz
main: Treat g_info() as equivalent to g_debug()
This makes us consistent with the default behaviour of GLib, and its behaviour with G_MESSAGES_DEBUG=all. g_debug() and g_info() are the two lowest priority levels, and GLib normally silences them by default. At the moment, Flatpak uses G_LOG_LEVEL_DEBUG in the flatpak2 domain as its lowest-priority log level (only shown with flatpak -v -v), and G_LOG_LEVEL_DEBUG in the flatpak domain as its second-lowest (shown with flatpak -v or higher). I want to move towards using G_LOG_LEVEL_INFO for flatpak -v messages, and G_LOG_LEVEL_DEBUG for flapak -v -v, so that we don't need a second log domain: this is a policy I've used successfully in Flatpak-derived Steam Runtime code. This change does not fully implement that policy, but gives us a migration path towards it, by allowing us to start using g_info() for flatpak -v messages. Helps: https://github.com/flatpak/flatpak/issues/5001 Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'oci-authenticator')
0 files changed, 0 insertions, 0 deletions