Starting Geany with --verbose (e.g. on the command line), should print debug and info log messages.

Presumably since ae01d30 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 ae01d30 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.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/4031@github.com>