2f366ea2725490208d4a163533a2c90757608849 |
|
18-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
log: Add "disable log prefix" flag to log lines |
982c30abd049087ce8b2fd44769561441e074961 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Add failure_context.log_prefix to override the default |
8009758e97922663d9a375a52efe044c8fe4d462 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: Add i_log_typev() |
d894bcdc712e5c45ce62797fb4487278d824e6d1 |
|
06-Feb-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Added i_get_failure_prefix() |
d4f004105cd7159aa9ade6b019eaecce9e94f382 |
|
06-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
log_timestamp setting supports now %{usecs}
This is mainly useful for debugging. |
ca4526e3b5fbf5ea3dd477a2098522a44c9ac52c |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
i_set_failure_prefix() now takes printf-like parameters.
This avoids using t_strdup_printf() with it, which was done very commonly. |
7cecac4162776ac996a7cf3f4604bb5327d923d6 |
|
06-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
liblib: Added failure_log_type_names[] array. |
986ca1cb9eedc1b5c91dbbd6ccd8d81fb468673c |
|
08-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
Added i_set_failure_send_prefix() and renamed i_set_failure_ip() to _send_ip(). |
8882cee80439046d678f08c52f0584bd92c7d361 |
|
15-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
Failure logging supports now getting timestamp as parameter. |
2303ad68175883aaebd1f3b18e69593c2422c7bb |
|
15-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
Cleaned up log callbacks and made them more extensible.
fatal_failure_callback_t type is now gone, there's only failure_callback_t
left that has a struct pointer as parameter. More parameters can be easily
added to the struct in future. |
f5e1d3d6b34ec152aa1ff15c7bd3d3552e9227ea |
|
30-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Added debug_log_path setting and i_debug() call.
Patch by Pascal Volk.
--HG--
branch : HEAD |
7ee43613f6d5225fecae31f174c197a279f48e82 |
|
29-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Added ATTR_HOT and ATTR_COLD macros. Use them in a couple of places.
--HG--
branch : HEAD |
b547a4e327dc376b8fb1b50eb587d4f63d62365d |
|
05-May-2009 |
Timo Sirainen <tss@iki.fi> |
Added i_get_failure_handlers().
--HG--
branch : HEAD |
9c8f854d95d8d895022a75f140a0a500eb200d39 |
|
05-May-2009 |
Timo Sirainen <tss@iki.fi> |
Removed LOG_TYPE_ERROR_IGNORE_IF_SEEN_FATAL. It's no longer necessary.
--HG--
branch : HEAD |
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 |
|
24-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for v2.0 master rewrite. Several features are still missing.
--HG--
branch : HEAD |
2421fd34d51fed6da985c62b5e078d7e96640653 |
|
10-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
pop3/imap: When master closes our log fd, don't die when trying to log disconnect reason.
--HG--
branch : HEAD |
be0185d71b19869700ac936fa9d09fb4ce950ae3 |
|
14-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
If login process crashes, log the IP address that (maybe) caused it.
--HG--
branch : HEAD |
bb3d09ab39d75ca5269723237f4e0eeec916b534 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Logging: Support specifying a prefix also for syslog logging.
--HG--
branch : HEAD |
04f0944b16374064e8d657f3925082a2613da4b9 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Default failure functions are now public.
--HG--
branch : HEAD |
4fc7d319feff84edde8c5899a401a4c98ba72cfb |
|
27-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Make failure_log_type_prefixes[] and failure_exit() public.
--HG--
branch : HEAD |
52ec35a46b5f6bc5477a603a2bed6460d64868db |
|
28-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fix for compiling with g++ 3.x.
--HG--
branch : HEAD |
0538f91db523f714296de783cd6655414b26d27d |
|
09-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Changed failure callbacks to take failure type parameter, so it's no longer
necessary to have separate panic and warning callbacks. Added i_log_type()
function to log a message with any type (even fatal/panic without dying
ourself).
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
48bd0aed38affdad9d157c7fa409d70230ec96fb |
|
18-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Added i_set_failure_prefix()
--HG--
branch : HEAD |
ce103d6bbe240c5e9251247825b74356a5421dc9 |
|
15-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Added i_set_failure_exit_callback()
--HG--
branch : HEAD |
6a058aa8c986a8fbec5ddd72c141db9df0b64b2d |
|
01-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Added sentinel GCC attribute to *_strconcat() functions. Added
format printf-attribute to vprintf-type functions.
--HG--
branch : HEAD |
316dad8277db6575354eba30d3fc7a1c0447c513 |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
Write all logging through master process. Fixes problems with log rotation,
chrooting, etc. Master process also allows max. 10 log messages per second
per child process, it then begins throttling them (eventually making the
child process start blocking on stderr).
--HG--
branch : HEAD |
7c424aa51c956c628e3512055841aa2f9eef4833 |
|
27-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Function typedefs now define them as functions, not function pointers.
--HG--
branch : HEAD |
f923659c0e5298263d80622c99f4dc4132b4675b |
|
11-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming change for function typedefs.
--HG--
branch : HEAD |
c0435c854a0e7246373b9752d163095cc4fbe985 |
|
05-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
--HG--
branch : HEAD |
7b98bdd4da1a3c9396304dc6c1baf02f59eb3392 |
|
28-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
In case of internal errors in logging, exit() with FATAL_LOGERROR.
--HG--
branch : HEAD |
65497fd5c3efa66319a1486addb272413403653a |
|
20-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Added info_log_file setting and i_info() function to write to it. Default is
the same as failure log. Currently only logged information is client logins.
--HG--
branch : HEAD |
aff95d423ca04ac801d55bbb3e29cc18d630f97a |
|
18-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Drop root privileges earlier. Close syslog more later in imap-master when
forking new processes, so that any errors get logged. Make sure that all
errors show up in log files - use specific exit status codes if we can't
write to log file. Make sure imap and login processes always drop root
privileges even if master process didn't ask for it for some reason.
putenv() wasn't verified to succeed - luckily we never allowed large user
given data there.
--HG--
branch : HEAD |
b4493d31ddec67ceea4459acdd5c2da3086a2773 |
|
13-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
make sure failure handlers don't modify errno.
--HG--
branch : HEAD |
66251e6ab31e5cc153fe5cae608e416dacafe9cd |
|
08-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Initial revision
--HG--
branch : HEAD |