Browse Source

make debug logs readable by filter out internal fuse-nio locking

Armin Schrenk 2 years ago
parent
commit
b4faae7fa0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main/java/org/cryptomator/logging/LogbackConfigurator.java

+ 4 - 0
src/main/java/org/cryptomator/logging/LogbackConfigurator.java

@@ -84,6 +84,10 @@ public class LogbackConfigurator extends ContextAwareBase implements Configurato
 			upgrades.addAppender(upgrade);
 			upgrades.addAppender(file);
 			upgrades.setAdditive(false);
+
+			// configure fuse file locking logger:
+			Logger fuseLocking = context.getLogger("org.cryptomator.frontend.fuse.locks");
+			fuseLocking.setLevel(Level.OFF);
 		}
 		return ExecutionStatus.DO_NOT_INVOKE_NEXT_IF_ANY;
 	}