Skip to content

Commit 6ca74bf

Browse files
committed
Update log categories
1 parent 056ad36 commit 6ca74bf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

code/function/fastapp/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup_logging(module) -> Logger:
1111
"""
1212
logger = logging.getLogger(module)
1313
logger.setLevel(settings.LOGGING_LEVEL)
14-
logger.propagate = True
14+
logger.propagate = False
1515

1616
# Create stream handler
1717
logger_stream_handler = logging.StreamHandler()

code/function/host.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"logging": {
44
"fileLoggingMode": "debugOnly",
55
"logLevel": {
6-
"default": "Information"
6+
"default": "Information",
7+
"Host": "Information",
8+
"Function": "Information",
9+
"Host.Aggregator": "Information"
710
},
811
"applicationInsights": {
912
"samplingSettings": {

0 commit comments

Comments
 (0)