-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogging.yml
71 lines (71 loc) · 2.77 KB
/
logging.yml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: 1
disable_existing_loggers: False
formatters:
simple:
(): colorlog.ColoredFormatter
format: '%(log_color)s[%(levelname)s] [%(name)s] %(filename)s %(asctime)s %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
reset: true
log_colors:
DEBUG: 'blue'
INFO: 'green'
WARNING: 'yellow'
ERROR: 'red'
CRITICAL: 'red,bg_white'
handlers:
console:
class: logging.StreamHandler
level: DEBUG # Set to debug here
formatter: simple
stream: ext://sys.stdout
loggers:
httpx:
level: INFO
handlers: [console]
formatter: simple
propagate: no
uvicorn:
level: INFO
handlers: [console]
formatter: simple
propagate: no
httpcore:
level: INFO
handlers: [console]
formatter: simple
propagate: no
gunicorn:
level: INFO
handlers: [console]
formatter: simple
propagate: no
newrelic.core:
level: INFO
handlers: [console]
formatter: simple
propagate: no
tortoise:
level: INFO
handlers: [console]
formatter: simple
propagate: no
watchfiles:
level: WARN
handlers: [console]
formatter: simple
propagate: no
root:
level: DEBUG # Set to debug here
handlers: [console]
# All Loggers: ['concurrent.futures', 'asyncio', 'uvicorn.error', 'uvicorn', 'watchfiles.watcher', 'watchfiles',
# 'watchfiles.main', 'httpx', 'httpcore', 'gunicorn', 'tortoise', 'newrelic.api.import_hook', 'newrelic', 'newrelic.core.config',
# 'newrelic.core.attribute', 'newrelic.core.custom_event', 'newrelic.packages.urllib3.util.retry', 'newrelic.packages.urllib3',
# 'newrelic.packages.urllib3.connection', 'newrelic.packages.urllib3.response', 'newrelic.packages.urllib3.connectionpool',
# 'newrelic.packages.urllib3.poolmanager', 'newrelic.common.utilization', 'newrelic.common.system_info', 'newrelic.api.settings',
# 'newrelic.core.trace_cache', 'newrelic.api.time_trace', 'newrelic.common.streaming_utils', 'newrelic.core.database_utils',
# 'newrelic.core.stats_engine', 'newrelic.core.otlp_utils', 'newrelic.core.agent_protocol', 'newrelic.core.agent_streaming',
# 'newrelic.core.data_collector', 'newrelic.core.environment', 'newrelic.core.profile_sessions', 'newrelic.samplers.data_sampler',
# 'newrelic.core.application', 'newrelic.core.agent', 'newrelic.api.transaction', 'newrelic.common.async_proxy',
# 'newrelic.api.web_transaction', 'newrelic.api.wsgi_application', 'newrelic.api.database_trace', 'newrelic.config',
# 'newrelic.hooks.mlmodel_sklearn', 'tortoise.db_client', 'fastapi', 'dotenv.main', 'httpcore.http11', 'httpcore.connection',
# 'httpcore.proxy', 'newrelic.core.context']