log src/lib/failures.c @ 23017:c1d36f2575c7 default tip

age author description
Mon, 01 Jan 2018 22:42:08 +0100 Stephan Bosch Updated copyright notices to include the year 2018.
Wed, 11 Jan 2017 02:51:13 +0100 Stephan Bosch Updated copyright notices to include the year 2017.
Wed, 11 Jan 2017 01:57:46 +0100 Stephan Bosch global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Mon, 12 Dec 2016 07:19:55 +0200 Timo Sirainen global: Change string position/length from unsigned int to size_t
Wed, 13 Jan 2016 12:24:03 +0200 Timo Sirainen global: freshen copyright
Wed, 23 Sep 2015 14:52:45 +0300 Teemu Huovila Remove now-unnecessary direct stdlib.h #includes.
Fri, 06 Feb 2015 17:04:52 +0200 Timo Sirainen lib: Added i_get_failure_prefix()
Mon, 05 Jan 2015 22:20:10 +0200 Phil Carmody global: freshen copyright
Mon, 06 Oct 2014 20:17:19 +0300 Timo Sirainen Minor code cleanup to previous change.
Mon, 06 Oct 2014 20:16:07 +0300 Timo Sirainen log_timestamp setting supports now %{usecs}
Fri, 04 Jul 2014 14:48:44 +0300 Phil Carmody lib: failures - cosmetic write_full cleanup
Tue, 04 Feb 2014 16:23:22 -0500 Timo Sirainen Updated copyright notices to include year 2014.
Sun, 08 Dec 2013 22:20:12 +0200 Timo Sirainen Renamed DEBUG_OUTOFMEM environment to CORE_OUTOFMEM. Added CORE_ERROR to dump core on the first error.
Thu, 03 Oct 2013 11:34:48 +0300 Timo Sirainen If DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.
Sat, 02 Feb 2013 17:02:55 +0200 Timo Sirainen Oops :) Update copyrights to 2013 without breaking all .c files.
Sat, 02 Feb 2013 17:01:07 +0200 Timo Sirainen Updated copyright notices to include year 2013.
Fri, 12 Oct 2012 01:06:13 +0300 Timo Sirainen i_set_failure_prefix() now takes printf-like parameters.
Wed, 03 Oct 2012 18:17:26 +0300 Timo Sirainen Renamed network.[ch] to net.[ch].
Thu, 28 Jun 2012 00:27:13 +0300 Timo Sirainen Changed i_close_fd() API to set the fd to -1 after closing.
Mon, 25 Jun 2012 02:52:33 +0300 Timo Sirainen Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
Sun, 24 Jun 2012 00:52:57 +0300 Timo Sirainen Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
Sun, 12 Feb 2012 18:55:28 +0200 Timo Sirainen Updated copyright notices to include year 2012.
Mon, 06 Feb 2012 19:28:40 +0200 Timo Sirainen liblib: Added failure_log_type_names[] array.
Thu, 08 Dec 2011 05:54:23 +0200 Timo Sirainen Added i_set_failure_send_prefix() and renamed i_set_failure_ip() to _send_ip().
Thu, 30 Jun 2011 07:26:01 +0300 Timo Sirainen liblib: Don't try to send a log prefix to log process if there is none.
Fri, 04 Mar 2011 20:54:29 +0200 Timo Sirainen Updated copyright notices to include year 2011.
Tue, 09 Nov 2010 20:25:36 +0000 Timo Sirainen liblib: Delay sending log prefix updates until it's needed.
Fri, 15 Oct 2010 16:08:12 +0100 Timo Sirainen Failure logging supports now getting timestamp as parameter.
Fri, 15 Oct 2010 15:46:43 +0100 Timo Sirainen Cleaned up log callbacks and made them more extensible.
Tue, 14 Sep 2010 17:39:40 +0100 Timo Sirainen When writing to logs, ignore write()=EINTR failures from non-terminal signals.
Fri, 11 Jun 2010 15:17:31 +0100 Timo Sirainen Logging lines longer than PIPE_BUF caused an extra empty line to be logged. HEAD
Thu, 29 Apr 2010 17:33:05 +0300 Timo Sirainen Syslog messages now contain Warning:, Error: and Debug: prefixes also. HEAD
Tue, 09 Mar 2010 00:08:16 +0200 Timo Sirainen Reversing accidentally committed debug code. HEAD
Mon, 08 Mar 2010 19:09:00 +0200 Timo Sirainen Improved setgid/setuid failure's error message. HEAD
Mon, 25 Jan 2010 01:19:08 +0200 Timo Sirainen Updated copyright notices to include year 2010. HEAD
Wed, 16 Dec 2009 13:31:12 -0500 Timo Sirainen Don't use static sized buffers for writing log open failure errors. HEAD
Wed, 28 Oct 2009 14:10:17 -0400 Timo Sirainen Minor memory allocation tweaks. HEAD
Mon, 05 Oct 2009 16:54:53 -0400 Timo Sirainen If info/debug log can't be opened, log about it to error log. HEAD
Wed, 30 Sep 2009 17:50:56 -0400 Timo Sirainen Added debug_log_path setting and i_debug() call. HEAD
Tue, 08 Sep 2009 19:29:54 -0400 Timo Sirainen Logging via log service: Added support for changing process's log prefix. HEAD
Tue, 05 May 2009 14:54:05 -0400 Timo Sirainen Added i_get_failure_handlers(). HEAD
Mon, 04 May 2009 20:30:03 -0400 Timo Sirainen Removed LOG_TYPE_ERROR_IGNORE_IF_SEEN_FATAL. It's no longer necessary. HEAD
Thu, 23 Apr 2009 19:53:44 -0400 Timo Sirainen Initial commit for v2.0 master rewrite. Several features are still missing. HEAD
Mon, 20 Apr 2009 19:11:50 -0400 Timo Sirainen Removed accidentally committed debug warning. HEAD
Mon, 20 Apr 2009 19:07:24 -0400 Timo Sirainen Pass remote/local IPs to mail_users. Standalone mail programs now log with mail_log_prefix. HEAD
Wed, 18 Mar 2009 13:47:58 -0400 Timo Sirainen If log write() fails because of EINTR, try again 2 more times. HEAD
Tue, 10 Feb 2009 12:19:05 -0500 Timo Sirainen pop3/imap: When master closes our log fd, don't die when trying to log disconnect reason. HEAD
Wed, 14 Jan 2009 15:14:11 -0500 Timo Sirainen If login process crashes, log the IP address that (maybe) caused it. HEAD
Tue, 06 Jan 2009 09:25:38 -0500 Timo Sirainen Updated copyright notices to include year 2009. HEAD
Sat, 15 Nov 2008 19:46:46 +0200 Timo Sirainen Logging: Support specifying a prefix also for syslog logging. HEAD
Fri, 29 Aug 2008 09:43:18 +0300 Timo Sirainen If logging failed to info log, try to log a failure to error log if it's elsewhere. HEAD
Sun, 20 Jul 2008 17:56:52 +0300 Timo Sirainen Logging: Make sure we don't recurse infinitely when running out of memory. HEAD
Sat, 07 Jun 2008 05:10:26 +0300 Timo Sirainen If writing to log failed with EAGAIN (shouldn't normally happen), waiting HEAD
Wed, 28 May 2008 19:03:42 +0300 Timo Sirainen Print raw backtrace when dying with out-of-memory (with all log backends). HEAD
Thu, 15 May 2008 07:53:11 +0300 Timo Sirainen "Can't open log file" error was missing linefeed. HEAD
Tue, 11 Mar 2008 17:25:29 +0200 Timo Sirainen Log raw backtrace when dying with "out of memory" error HEAD
Wed, 05 Mar 2008 02:17:33 +0200 Timo Sirainen Prefix fatal/panic messages with syslog. HEAD
Mon, 11 Feb 2008 20:44:23 +0200 Timo Sirainen Default failure functions are now public. HEAD
Mon, 11 Feb 2008 20:17:00 +0200 Timo Sirainen Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and HEAD
Tue, 01 Jan 2008 22:05:21 +0200 Timo Sirainen Updated copyright notices to include year 2008. HEAD