aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-16 14:13:49 +0800
committerAaron LI <aly@aaronly.me>2017-11-16 14:13:49 +0800
commit91b0e2df43d6f64f7e0888c1cbc276d9c6b2922c (patch)
treee14b37189e6d13419def971d25f52a956ed091fd /fg21sim
parent5ef2d07a9555858221d682f2b0adbcb7b1bd6bc7 (diff)
downloadfg21sim-91b0e2df43d6f64f7e0888c1cbc276d9c6b2922c.tar.bz2
logging: report line numbers to help debug
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/00-general.conf.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec
index 3ecc822..353e2cf 100644
--- a/fg21sim/configs/00-general.conf.spec
+++ b/fg21sim/configs/00-general.conf.spec
@@ -137,7 +137,7 @@ ns = float(default=0.96, min=0.0)
level = option("debug", "info", "warning", "error", "critical", default="info")
# Set the format of displayed messages
-format = string(default="%(asctime)s [%(levelname)s] <%(name)s> %(message)s")
+format = string(default="%(asctime)s [%(levelname)s] <%(name)s:%(lineno)d> %(message)s")
# Set the date/time format in messages
datefmt = string(default="%H:%M:%S")