diff options
author | Arturo Borrero Gonzalez <arturo@debian.org> | 2016-11-04 11:37:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-11-09 00:26:04 +0100 |
commit | 631d92b68922e7da827115d62a55425ab667c89d (patch) | |
tree | d0fbbd62488d938312f682ab915a2b7e82cbdb39 /src/nfct-extensions | |
parent | ab81c355fa292b7d71253a4b8d3a3daf31a78ed1 (diff) |
log: introduce a mechanism to know if log was initialized
This will allow to call dlog() function from all the points in the
execution at runtime.
If the log was not initialized, then we just fprintf and return.
By now, we can't init the log engine earlier because we require config
from the user, so there is a egg-chicken problem.
This means that we can't log parsing messages to logfiles but only to
stderr/stdout.
Signed-off-by: Arturo Borrero Gonzalez <arturo@debian.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/nfct-extensions')
0 files changed, 0 insertions, 0 deletions