Improve env handling a bit
This commit is contained in:
parent
bb76e3db4d
commit
51c42d5202
3 changed files with 5 additions and 2 deletions
3
.env.example
Normal file
3
.env.example
Normal file
|
@ -0,0 +1,3 @@
|
|||
#EMGAUWA_CONTROLLER_LOGGING_LEVEL=INFO
|
||||
|
||||
#EMGAUWA_CORE_LOGGING_LEVEL=INFO
|
|
@ -13,7 +13,7 @@ permissions {
|
|||
}
|
||||
|
||||
logging {
|
||||
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
|
||||
level = read?("env:EMGAUWA_CONTROLLER_LOGGING_LEVEL") ?? "DEBUG"
|
||||
file = "stdout"
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,6 @@ permissions {
|
|||
}
|
||||
|
||||
logging {
|
||||
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
|
||||
level = read?("env:EMGAUWA_CORE_LOGGING_LEVEL") ?? "DEBUG"
|
||||
file = "stdout"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue