add level config (#1463)

* add level config

* fix error end with new line

* fix error end with new line

Co-authored-by: ketut-angga <ketut.angga@balabali.com>
This commit is contained in:
ketut angga
2022-12-17 18:53:49 +01:00
committed by GitHub
co-authored by ketut-angga
parent c14d5868f7
commit 19e6c5bbef
2 changed files with 16 additions and 1 deletions
@@ -1,4 +1,18 @@
logbook:
api:
# The base url of logbook app.
url: "%env(LOGBOOK_API_URL)%"
# The key of logbook client app.
key: "%env(LOGBOOK_API_KEY)%"
# The minimum log level allowed to be stored.
# DEBUG
# INFO
# NOTICE
# WARNING
# ERROR
# CRITICAL
# ALERT
# EMERGENCY
level: "%env(LOGBOOK_LEVEL)%"
+2 -1
View File
@@ -7,6 +7,7 @@
},
"env": {
"LOGBOOK_API_URL": "Logbook API url",
"LOGBOOK_API_KEY": "Logbook API key"
"LOGBOOK_API_KEY": "Logbook API key",
"LOGBOOK_LEVEL": "ERROR"
}
}