Starting Geany with --verbose (e.g. on the command line), should print debug and info log messages.
Presumably since ae01d30242 this does not work anymore except the user defines the environment variable "G_MESSAGES_DEBUG=all" before starting Geany.
We set this variable actually within Geany if the --verbose option is given (https://github.com/geany/geany/blob/master/src/libmain.c#L578C1-L578C5). However, due to the change in ae01d30242 we initialize the encodings earlier and this initialization may emit its own log messages and so, I assume, the GLib logging system ignores the `G_MESSAGES_DEBUG` environment variable which we will set later in the startup process.
@b4n do you remember if it was necessary to initialize the encodings so early or can we maybe move it after https://github.com/geany/geany/blob/master/src/libmain.c#L1061 which would solve the issue.
Well, since that commit we need encoding initialized in headless mode, so I put it at the end of `init_headless()`, but I think that doesn't have to be more precise than that.
github-comments@lists.geany.org