add env var for log file
This commit is contained in:
parent
10a9a99651
commit
5512c89bc6
|
@ -8,7 +8,7 @@ def defaultLevel = INFO
|
||||||
def defaultTarget = ConsoleTarget.SystemErr
|
def defaultTarget = ConsoleTarget.SystemErr
|
||||||
|
|
||||||
appender("FILE", FileAppender) {
|
appender("FILE", FileAppender) {
|
||||||
file = "logs_meta.log"
|
file = System.getenv("FROGMC_META_LOG") ?: "logs_meta.log"
|
||||||
append = true
|
append = true
|
||||||
|
|
||||||
encoder(PatternLayoutEncoder) {
|
encoder(PatternLayoutEncoder) {
|
||||||
|
|
Loading…
Reference in a new issue