diff options
author | ajs <ajs> | 2005-02-03 16:42:40 +0000 |
---|---|---|
committer | ajs <ajs> | 2005-02-03 16:42:40 +0000 |
commit | 1e2213541bbda26c49667b699a333d87bcc0f2e6 (patch) | |
tree | 23ed10aeadeb22a4f3e40c794a829604cc25cb7e /lib/ChangeLog | |
parent | 847947f20b152f0b64057a7115e118b44d238b5c (diff) |
2005-02-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c: (syslog_sigsafe) Reduce scope of syslog_fd: it is accessed
inside this function only.
(open_crashlog) New function to open /var/tmp/quagga.<daemon>.crashlog
with flags O_WRONLY|O_CREAT|O_EXCL to save some crash info.
(zlog_signal,_zlog_assert_failed) Increase logging priority from
LOG_ERR to LOG_CRIT. If no file logging is configured, try to use
open_crashlog to create a crash logfile.
(zlog_backtrace_sigsafe) If a crashlog file descriptor is open,
dump a backtrace to that file.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r-- | lib/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index a69abc59..6f9c39af 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,15 @@ +2005-02-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * log.c: (syslog_sigsafe) Reduce scope of syslog_fd: it is accessed + inside this function only. + (open_crashlog) New function to open /var/tmp/quagga.<daemon>.crashlog + with flags O_WRONLY|O_CREAT|O_EXCL to save some crash info. + (zlog_signal,_zlog_assert_failed) Increase logging priority from + LOG_ERR to LOG_CRIT. If no file logging is configured, try to use + open_crashlog to create a crash logfile. + (zlog_backtrace_sigsafe) If a crashlog file descriptor is open, + dump a backtrace to that file. + 2005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * if.h: Declare if_flag_dump. |