| Branch: | Revision:

iof-bird-daemon / sysdep / unix / log.c @ 725270cb

History | View | Annotate | Download (4.27 KB)

# Date Author Comment
725270cb 06/08/2000 12:37 PM Martin Mares

Fixes for the programmer's manual.

2e9b2421 06/07/2000 12:29 PM Martin Mares

Spelling fixes to progdoc.

73275d85 06/05/2000 12:49 PM Martin Mares

Documented all the sysdeps (only briefly, I admit).

Except for Filters, RIP and OSPF, the progdocs are complete.

2f5e5ff9 05/31/2000 10:28 PM Martin Mares

Before configuration file is read, log to both syslog and stderr.

5ff0a270 05/08/2000 10:31 PM Martin Mares

In non-debug mode, set default logging to syslog only, not stderr.

818ff1e2 05/08/2000 12:38 PM Martin Mares

When reporting a bug(), call abort() instead of exit(), so that we
can analyse the core.

f098e072 03/12/2000 10:53 PM Martin Mares

Fixed a bunch of FIXME's by removing them :)

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.