Changes print-like filter commands to use a log instead of a stderr.
And extends the log subsystem to better handle that.
Configurable syslog name.
Also fixes a bug in syslog initialization.
Fix configure to enable warnings and fix most of them.
Makes date/time formats configurable.
Implements MRTdump feature.
Rate limit for most abundant log messages
Renamed log() to log_msg(), but still keeping the old name as a macro.This is done to avoid clashes with gcc-3.3 which has built-in logarithms :)
Fixed <time.h> vs. <sys/time.h> problems.
If compiled with --enable-debug, don't even try to log to syslog unlessthe user forces it in the config file.
During initialization, log to both syslog and stderr. When a configurationfile has been read and it doesn't specify any logging, log to syslog only(if syslog is not available, then stderr).
Fixes for the programmer's manual.
Spelling fixes to progdoc.
Documented all the sysdeps (only briefly, I admit).
Except for Filters, RIP and OSPF, the progdocs are complete.
Before configuration file is read, log to both syslog and stderr.
In non-debug mode, set default logging to syslog only, not stderr.
When reporting a bug(), call abort() instead of exit(), so that wecan analyse the core.
Fixed a bunch of FIXME's by removing them :)
Allow logging to stderr as well.
Logging is now configurable. You can define multiple log outputs (to bothfiles and syslog) and assign lists of message categories to each of them.
Implemented echoing of log messages to CLI connections. Just try `echo all'.
Finer grained logging levels:
#define L_DEBUG "\001" /* Debugging messages /#define L_INFO "\002" / Informational messages /#define L_WARN "\003" / Warnings /#define L_ERR "\004" / Errors /#define L_AUTH "\005" / Authorization failed etc. */...
Complain loudly if the logging buffer would overflow.
debug() and log() use the new printf. Feel free to use new formattingsequences for all output.
Added new subdir for UNIX-dependent files.
Now contains only functions for logging, but it will change soon.