From 91b0e2df43d6f64f7e0888c1cbc276d9c6b2922c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 16 Nov 2017 14:13:49 +0800 Subject: logging: report line numbers to help debug --- fg21sim/configs/00-general.conf.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim') 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") -- cgit v1.2.2