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_USER=root
|
||||
> - DB_PWD=ogahxu1eigohN2Eok0xoawae #CHANGE ME!
|
||||
> - OAUTH_URL= #discord generated, change "response_type=code" to "response_type=token"
|
||||
> - LOG_LEVEL=info
|
||||
> labels:
|
||||
> - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
|
||||
> - "traefik.docker.network=proxy"
|
||||
|
@ -25,7 +25,7 @@
|
||||
</File>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Logger name="net.Broken" level="info" additivity="false">
|
||||
<Logger name="net.Broken" level="${env:LOG_LEVEL}" additivity="false">
|
||||
<AppenderRef ref="Console"/>
|
||||
<AppenderRef ref="current"/>
|
||||
<AppenderRef ref="RollingFile"/>
|
||||
|
Loading…
Reference in New Issue
Block a user