basic/log: omit ":0" from message when line number is not specified
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 Jul 2019 14:37:10 +0000 (16:37 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 4 Jul 2019 08:36:24 +0000 (10:36 +0200)
commitbdc3426870be2536dd807692420b7b86e7d76ab7
tree1e4a601308b6d981b0a454204e16715327e3e1f6
parentd7921114d72efa68a71f783aeae5fbeb94b03d2d
basic/log: omit ":0" from message when line number is not specified

And obviously CONFIG_LINE=0 is also not logged.

The way that log_syntax_internal now looks is becoming a bit crazy, but we
can't easily conditionalize on both unit and config_file, and we have different
types, so it's not easy to make this more compact.
src/basic/log.c