Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
badzz committed Oct 11, 2024
1 parent 7b6f080 commit f05484f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/LoggingManagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,12 +511,12 @@ def process_logging_event( self, logging_tuple):
_catch_error_event(self, context,logging_tuple, err )
return

thread_name = f"{thread_name} {thread_id}"

if logType == "Error":
thread_name=thread_name + " " + thread_id
loggingError(self, thread_name, module, message, nwkid, context)

elif logType == "Debug" and _should_log_debug(self, thread_name) and _is_to_be_logged(self, logType, module):
thread_name=thread_name + " " + thread_id
_logginfilter(self, thread_name, message, nwkid)

else:
Expand Down

0 comments on commit f05484f

Please sign in to comment.