Statistics
| Branch: | Revision:

iof-bird-daemon / sysdep / unix / log.c @ f7fcb752

History | View | Annotate | Download (3.06 KB)

# Date Author Comment
f78056fb 12/06/1999 01:51 PM Martin Mares

Allow logging to stderr as well.

a0c37b45 12/06/1999 01:45 PM Martin Mares

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.

34350a52 12/06/1999 12:34 PM Martin Mares

Implemented echoing of log messages to CLI connections. Just try `echo all'.

98e87c86 12/20/1998 02:24 PM Martin Mares

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. */...

9158ca99 11/16/1998 09:41 PM Martin Mares

Complain loudly if the logging buffer would overflow.

9556f225 06/17/1998 02:33 PM Martin Mares

debug() and log() use the new printf. Feel free to use new formatting
sequences for all output.

6032aa6a 05/03/1998 04:42 PM Martin Mares

Added new subdir for UNIX-dependent files.

Now contains only functions for logging, but it will change soon.