History | View | Annotate | Download (4.27 KB)
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.