Skip to content

Commit

Permalink
Ref #8 logging thread id for better debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Kaźmierczyk <kazm@ibm.com>
  • Loading branch information
kkazmierczyk committed Oct 31, 2024
1 parent 8bd0554 commit 3b5598b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import sys
from pathlib import Path

LOGGING_FORMAT = '%(asctime)s [%(levelname)s][%(filename)s:%(lineno)s] %(message)s'
LOGGING_FORMAT = '%(asctime)s [thread: %(thread)d][%(levelname)s][%(filename)s:%(lineno)s] %(message)s'


def create_file_logging(logging_file_dir):
logging_file = logging_file_dir + "/wait2-debug.log"
Expand Down

0 comments on commit 3b5598b

Please sign in to comment.