summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-15 15:39:04 +0300
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-12-04 23:04:22 +0100
commit7c9f4e9590348f3ce36e05ccc15a4be94ae94c8e (patch)
treedde91477e98e7e6c7fbebf3552d4b58d9d5dd49f
parent2e2a2e3382fc83ec5e219e569fd656070e48ade2 (diff)
Use maximum logging verbosity while attempting the restart
Change-Id: I3e3162474db1edef3b92e252b249fe373dedbbfd
-rw-r--r--android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
index 16de4a013bac..74ad782929ab 100644
--- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
+++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LOKitTileProvider.java
@@ -43,6 +43,7 @@ public class LOKitTileProvider implements TileProvider {
mDocument = mOffice.documentLoad(input);
if (mDocument == null) {
+ LibreOfficeKit.putenv("SAL_LOG=+WARN+INFO");
Log.i(LOGTAG, "====> mOffice.documentLoad() returned null, trying to restart 'Office' and loading again");
mOffice.destroy();
Log.i(LOGTAG, "====> mOffice.destroy() done");
@@ -51,6 +52,7 @@ public class LOKitTileProvider implements TileProvider {
mOffice = new Office(handle);
Log.i(LOGTAG, "====> new Office created");
mDocument = mOffice.documentLoad(input);
+ LibreOfficeKit.putenv("SAL_LOG=-WARN+INFO.lok");
}
Log.i(LOGTAG, "====> mDocument = " + mDocument);