Add --log-file parameter to write logs to separate file

Use logback for more control over the log output

Fixes #845
This commit is contained in:
AsamK 2022-01-29 12:35:19 +01:00
parent 95cc0ae7fd
commit 2e74acaabe
8 changed files with 199 additions and 21 deletions

View file

@ -37,7 +37,8 @@ dependencies {
implementation("com.fasterxml.jackson.core", "jackson-databind", "2.13.1")
implementation("net.sourceforge.argparse4j", "argparse4j", "0.9.0")
implementation("com.github.hypfvieh", "dbus-java-transport-native-unixsocket", "4.0.0")
implementation("org.slf4j", "slf4j-simple", "1.7.32")
implementation("org.slf4j", "slf4j-api", "1.7.32")
implementation("ch.qos.logback", "logback-classic", "1.2.10")
implementation("org.slf4j", "jul-to-slf4j", "1.7.32")
implementation(project(":lib"))
}