Dynamically change log level

This commit is contained in:
M66B
2023-12-16 21:53:51 +01:00
parent 7e0cb664b6
commit 7b42fb1ea6
7 changed files with 52 additions and 41 deletions

View File

@@ -1308,7 +1308,7 @@ public class DebugHelper {
attachment.progress = 0;
attachment.id = db.attachment().insertAttachment(attachment);
attachment.zip(context, TinyLogConfigurationLoader.getFiles(context));
attachment.zip(context, FairEmailLoggingProvider.getLogFiles(context));
/*
// https://cheatsheetseries.owasp.org/cheatsheets/OS_Command_Injection_Defense_Cheat_Sheet.html#java
ProcessBuilder pb = new ProcessBuilder("/system/bin/logcat",