Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions azure_functions_worker/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ def on_logging(self, record: logging.LogRecord, formatted_msg: str) -> None:
log_level = getattr(protos.RpcLog, 'None')

if is_system_log_category(record.name):
log_category = protos.RpcLog.RpcLogCategory.System
log_category = protos.RpcLog.RpcLogCategory.Value('System')
else: # customers using logging will yield 'root' in record.name
log_category = protos.RpcLog.RpcLogCategory.User
log_category = protos.RpcLog.RpcLogCategory.Value('User')

log = dict(
level=log_level,
Expand Down