mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
efdc4c434a
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. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
proguard-rules.pro |