chiark / gitweb /
log: Provide system_log from the very start
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2019 10:17:27 +0000 (10:17 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 30 Dec 2019 13:15:50 +0000 (13:15 +0000)
commit0b93cdd26114421948bfe698f03e6f3d5ff2bdf3
treeea812baf09cd96e43d2374632d9da0bea65dc24a
parentacf1e1a99fb26b9f615884e33c4e578955fa7ef8
log: Provide system_log from the very start

It is just too inconvenient not to have this while reading the config.
Set up a default system_log which logs to stderr.  When setup_log
is called, system_log will be overwritten and this struct is no
longer used.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
log.c
secnet.c
secnet.h