diff --git a/miner/docs/modules/ROOT/pages/installation/docker.adoc b/miner/docs/modules/ROOT/pages/installation/docker.adoc index 5f15754e..656a2e8f 100644 --- a/miner/docs/modules/ROOT/pages/installation/docker.adoc +++ b/miner/docs/modules/ROOT/pages/installation/docker.adoc @@ -48,4 +48,19 @@ If you have 2FA enabled or using selenium, you'll have to enter information in t As Docker doesn't give an interactive shell by default you'll have to run the container in interactive mode yourself the first time. More can be read about it in link:https://github.com/RakambdaOrg/ChannelPointsMiner/issues/87#issuecomment-988276214[#87]. -==== \ No newline at end of file +==== + +[cols=3*] +|=== +|Key +|Default +|Description + +|LOG_LEVEL +|info +|Sets the log level of the miner (if the default config file is still used) + +|LOG_TO_FILE +| +|If set to `true`, logs will also be produced in lo files that are in `/usr/src/app/logs` +|=== \ No newline at end of file diff --git a/miner/src/main/java/fr/rakambda/channelpointsminer/miner/prediction/bet/amount/ConstantAmount.java b/miner/src/main/java/fr/rakambda/channelpointsminer/miner/prediction/bet/amount/ConstantAmount.java index 5af4f826..d52854c1 100644 --- a/miner/src/main/java/fr/rakambda/channelpointsminer/miner/prediction/bet/amount/ConstantAmount.java +++ b/miner/src/main/java/fr/rakambda/channelpointsminer/miner/prediction/bet/amount/ConstantAmount.java @@ -15,7 +15,7 @@ import lombok.extern.log4j.Log4j2; import org.jetbrains.annotations.NotNull; -@JsonTypeName("mostUsers") +@JsonTypeName("constant") @Getter @EqualsAndHashCode @ToString diff --git a/miner/src/main/resources/log4j2.xml b/miner/src/main/resources/log4j2.xml index 4d1004ff..2921d099 100644 --- a/miner/src/main/resources/log4j2.xml +++ b/miner/src/main/resources/log4j2.xml @@ -19,13 +19,13 @@ - + - +