| Commit message (Collapse) | Author | Lines |
|
These work like LOG_AND_NOTIFY_* but add contextual information: path
of the conf file, line number, section name, key/option name and the
value.
|
|
This means that logging will be completely disabled until log_init()
has been called, which is useful to prevent log spam when running
UNITTEST{} blocks in debug builds.
Note that this doesn't change the default log level at runtime, which
was already being set to LOG_CLASS_INFO in main.c and client.c.
The new log level is also exposed to the command-line interface as
`--log-level=none`, which allows disabling logging entirely.
|
|
|
|
|
|
|
|
Assume it could be a copy-paste typo. We should check PRIMARY, not
CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything
to CLIPBOARD.
|
|
This ensures all calls have at least one __VA_ARGS__ argument, thus
making them ISO C99 compliant.
|
|
|
|
When specified, our PID is written to the specified file (or FD),
after we've successfully started up.
|
|
|
|
|