chiark / gitweb /
log: Set log level for early logging
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 May 2020 12:41:04 +0000 (13:41 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 May 2020 19:00:52 +0000 (20:00 +0100)
commitdcda82318f858b29a22e9f9df9e732b94f7456dd
tree686797dfdc5d9c210c8092a59dee6087dd27d1d5
parentca307b74465a61c8d9c700f12e5ac85344b29f87
log: Set log level for early logging

Unless ->level is set, logging is just a no-op.  We must set this
twice, because the system log is used to report command line parsing
errors, but the command line might increase the log level.

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