Change log level with env var and update readme
This commit is contained in:
parent
a3ee115d0d
commit
859b061d06
@ -25,6 +25,8 @@ Docker:<br/>
|
|||||||
> - DB_URL=jdbc:mysql://database/botdiscord
|
> - DB_URL=jdbc:mysql://database/botdiscord
|
||||||
> - DB_USER=root
|
> - DB_USER=root
|
||||||
> - DB_PWD=ogahxu1eigohN2Eok0xoawae #CHANGE ME!
|
> - DB_PWD=ogahxu1eigohN2Eok0xoawae #CHANGE ME!
|
||||||
|
> - OAUTH_URL= #discord generated, change "response_type=code" to "response_type=token"
|
||||||
|
> - LOG_LEVEL=info
|
||||||
> labels:
|
> labels:
|
||||||
> - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
|
> - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
|
||||||
> - "traefik.docker.network=proxy"
|
> - "traefik.docker.network=proxy"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
</File>
|
</File>
|
||||||
</Appenders>
|
</Appenders>
|
||||||
<Loggers>
|
<Loggers>
|
||||||
<Logger name="net.Broken" level="info" additivity="false">
|
<Logger name="net.Broken" level="${env:LOG_LEVEL}" additivity="false">
|
||||||
<AppenderRef ref="Console"/>
|
<AppenderRef ref="Console"/>
|
||||||
<AppenderRef ref="current"/>
|
<AppenderRef ref="current"/>
|
||||||
<AppenderRef ref="RollingFile"/>
|
<AppenderRef ref="RollingFile"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user