Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (5.07 KB)

# Date Author Comment
c37e7851 02/02/2010 11:19 PM Ondrej Zajicek

Makes date/time formats configurable.

cf31112f 01/03/2010 11:17 AM Ondrej Zajicek

Implements MRTdump feature.

cb530392 02/26/2009 01:23 PM Ondrej Zajicek

Rate limit for most abundant log messages

e98bc2ea 06/05/2004 09:05 AM Martin Mares

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 :)

01b776e1 03/06/2001 01:40 PM Martin Mares

Fixed <time.h> vs. <sys/time.h> problems.

f9eb8f7e 06/19/2000 11:50 PM Martin Mares

If compiled with --enable-debug, don't even try to log to syslog unless
the user forces it in the config file.

5ddf4a58 06/09/2000 07:32 AM Martin Mares

During initialization, log to both syslog and stderr. When a configuration
file has been read and it doesn't specify any logging, log to syslog only
(if syslog is not available, then stderr).

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.