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 /vtysh/vtysh_main.c | |
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 'vtysh/vtysh_main.c')
0 files changed, 0 insertions, 0 deletions