1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00
Gadgetbridge/app
José Rebelo efdc4c434a Correctly disable file logging if initialization fails
If logging initialization failed, the file logger would not be removed
correctly, and it would log to a GB_LOGFILES_DIR_IS_UNDEFINED directory.

Remove the file logger from the root appender, regardless of it being
null or not.

The issue can be easily reproduced before the fix by throwing an
exception in FileUtils#getExternalFilesDir. Before the fix, it would
still log to the aforementioned directory.

Aditionally, update the Settings screen to reflect that writing log
files is not available in such cases.
2022-08-06 00:34:47 +01:00
..
src Correctly disable file logging if initialization fails 2022-08-06 00:34:47 +01:00
build.gradle bump version update changelog 2022-07-22 12:22:08 +02:00
proguard-rules.pro Added rule to keep static members of GattCharacteristic class 2022-04-28 22:08:26 +02:00