notify: disable logging of requests
This commit is contained in:
parent
1ff1bed33d
commit
2df7038142
1 changed files with 7 additions and 2 deletions
|
@ -9,6 +9,13 @@ import os
|
||||||
import jq
|
import jq
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
|
log = logging.getLogger("werkzeug")
|
||||||
|
log.setLevel(logging.ERROR)
|
||||||
|
|
||||||
ENV_PREFIX = "NOTIFIER_"
|
ENV_PREFIX = "NOTIFIER_"
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,8 +70,6 @@ curl -H "Authorization: Bearer $TOKEN" "$URL" \
|
||||||
"||URL||", "https://notify.fricloud.dk"
|
"||URL||", "https://notify.fricloud.dk"
|
||||||
)
|
)
|
||||||
|
|
||||||
app = Flask(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def get_db():
|
def get_db():
|
||||||
con = sqlite3.connect(CONFIG_DATABASE_PATH)
|
con = sqlite3.connect(CONFIG_DATABASE_PATH)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue