1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Logging is now configurable. You can define multiple log outputs (to both

files and syslog) and assign lists of message categories to each of them.
This commit is contained in:
Martin Mares
1999-12-06 13:45:56 +00:00
parent 7c0cc76ed7
commit a0c37b45e5
7 changed files with 170 additions and 58 deletions

View File

@ -44,9 +44,6 @@ void bug(char *msg, ...) NORET;
#define L_FATAL "\007" /* Fatal errors */
#define L_BUG "\010" /* BIRD bugs */
void log_init(char *); /* Initialize logging to given file (NULL=stderr, ""=syslog) */
void log_init_debug(char *); /* Initialize debug dump to given file (NULL=stderr, ""=off) */
void debug(char *msg, ...); /* Printf to debug output */
/* Debugging */