commit 13756a6cd831de391e4ddc08e90db1633ac572bf
parent 0d85333211f50016359dcfc83dc8a7ec0c1cb869
Author: Marc Stibane <marc@taler.net>
Date: Wed, 2 Sep 2026 11:59:31 +0200
less logging for AppStore builds
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Model/WalletModel.swift b/TalerWallet1/Model/WalletModel.swift
@@ -423,8 +423,13 @@ fileprivate struct InitRequest: WalletBackendFormattedRequest {
let features = Features(migrateNativeDb: false, useNativeDb: true)
let config = Config(testing: testing, builtin: builtin, features: features)
return Args(persistentStoragePath: persistentStoragePath,
+#if DEBUG
+ let logLevel = "info" // trace, info, message, warn, error, none
+#else
+ let logLevel = "message" // less logging for AppStore builds
+#endif
// cryptoWorkerType: "sync", qtart can ONLY use sync, that's the default anyway
- logLevel: "info", // trace, info, message, warn, error, none
+ logLevel: logLevel,
config: config,
useNativeLogging: true)
}