summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java b/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java
index 6228453e..5fc604e5 100644
--- a/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java
+++ b/app/src/main/java/se/leap/bitmaskclient/tor/ClientTransportPlugin.java
@@ -66,7 +66,7 @@ public class ClientTransportPlugin implements ClientTransportPluginInterface {
private void watchLogFile(File logfile) {
final Vector<String> lastBuffer = new Vector<>();
- logFileObserver = new FileObserver(logfile) {
+ logFileObserver = new FileObserver(logfile.getAbsolutePath()) {
@Override
public void onEvent(int event, @Nullable String name) {
if (FileObserver.MODIFY == event) {