# HG changeset patch # User drewp@bigasterisk.com # Date 2023-05-24 21:44:38 # Node ID 51e9cb155495ed1bd431cc56c5c662c14338a180 # Parent f9edd9819b7dc5464dec37daf4166b543b7cf854 list code line in logs diff --git a/light9/run_local.py b/light9/run_local.py --- a/light9/run_local.py +++ b/light9/run_local.py @@ -26,7 +26,7 @@ coloredlogs.install( level='DEBUG', milliseconds=True, datefmt='t=%H:%M:%S', - fmt='%(asctime)s.%(msecs)03d %(levelname)1.1s %(name)s %(message)s', + fmt='%(asctime)s.%(msecs)03d %(levelname)1.1s [%(filename)s:%(lineno)s] %(name)s %(message)s', # try `pdm run humanfriendly --demo` field_styles=dict( asctime=dict(color=30),