-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlogging.yaml.example
57 lines (53 loc) · 1.3 KB
/
logging.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: 1
disable_existing_loggers: false
formatters:
standard:
format: "[W2FM] %(asctime)s [%(levelname)s] %(message)s"
datefmt: "[%Y-%m-%d %I:%M:%S %z]"
uvicorn:
(): "uvicorn.logging.DefaultFormatter"
fmt: "[W2FM] %(asctime)s [%(levelname)s] %(message)s"
datefmt: "[%Y-%m-%d %I:%M:%S %z]"
use_colors: false
access:
(): "uvicorn.logging.AccessFormatter"
fmt: "[W2FM] %(asctime)s [%(levelname)s] %(client_addr)s - '%(request_line)s' %(status_code)s"
datefmt: "[%Y-%m-%d %I:%M:%S %z]"
handlers:
console:
level: "DEBUG"
formatter: "standard"
class: "logging.StreamHandler"
stream: "ext://sys.stdout"
uvicorn:
level: "DEBUG"
formatter: "uvicorn"
class: "logging.StreamHandler"
stream: "ext://sys.stdout"
access:
level: "DEBUG"
formatter: "access"
class: "logging.StreamHandler"
stream: "ext://sys.stdout"
loggers:
uvicorn:
handlers: ["uvicorn"]
level: "INFO"
propagate: false
uvicorn.error:
level: "INFO"
uvicorn.access:
handlers: ["access"]
level: "INFO"
propagate: false
alembic:
handlers: ["console"]
level: "WARNING"
propagate: false
webhook_to_fedora_messaging:
handlers: ["console"]
level: "DEBUG"
propagate: false
root:
level: "INFO"
handlers: ["console"]