Improve env handling a bit

This commit is contained in:
Tobias Reisinger 2024-04-19 18:37:30 +02:00
parent bb76e3db4d
commit 51c42d5202
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 5 additions and 2 deletions

3
.env.example Normal file
View file

@ -0,0 +1,3 @@
#EMGAUWA_CONTROLLER_LOGGING_LEVEL=INFO
#EMGAUWA_CORE_LOGGING_LEVEL=INFO

View file

@ -13,7 +13,7 @@ permissions {
}
logging {
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
level = read?("env:EMGAUWA_CONTROLLER_LOGGING_LEVEL") ?? "DEBUG"
file = "stdout"
}

View file

@ -13,6 +13,6 @@ permissions {
}
logging {
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
level = read?("env:EMGAUWA_CORE_LOGGING_LEVEL") ?? "DEBUG"
file = "stdout"
}