Skip to content

method to globally set logging to output nicely to the console

This will make all of the direct calls to logging level functions output in a format that looks appropriate for the console. Previously, the default output looked like it should be written to a log file.

For example, before and after:

 ~ $ fdroid signatures -v
2024-02-27 17:22:21,531 DEBUG: Reading 'config.yml'
2024-02-27 17:22:21,537 CRITICAL: no APK supplied
 ~ $ fdroid signatures -v
Reading 'config.yml'
ERROR: no APK supplied
 ~ $

I started with some low risk subcommands that are basically always used by a human. Then if this works out nicely, it can be expanded to more commands, like lint, rewritemeta, etc.

Merge request reports