diff --git a/app/src/main/java/at/bitfire/davdroid/syncadapter/SyncManager.java b/app/src/main/java/at/bitfire/davdroid/syncadapter/SyncManager.java index 0349ad1a..340f9aaf 100644 --- a/app/src/main/java/at/bitfire/davdroid/syncadapter/SyncManager.java +++ b/app/src/main/java/at/bitfire/davdroid/syncadapter/SyncManager.java @@ -113,7 +113,7 @@ abstract public class SyncManager { if (settings.logToExternalFile()) log = new ExternalFileLogger(context, "davdroid-SyncManager-" + account.name + "-" + authority + ".txt", settings.logVerbose()); } catch(IOException e) { - log.error("Couldn't log to external file", e); + Constants.log.error("Couldn't log to external file", e); } if (log == null) log = Constants.log;