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.