aboutsummaryrefslogtreecommitdiff
path: root/src/lib/failures.c
AgeCommit message (Expand)AuthorLines
2022-02-22lib: If log prefix update can't be sent to log, exit with FATAL_LOGERRORTimo Sirainen-7/+13
2022-02-22lib: Fix losing log prefix or IP change when log process is busyTimo Sirainen-1/+2
2021-10-07lib: Change i_unreached() to be a functionTimo Sirainen-0/+6
2021-07-02lib: Fix log prefix in internal handler when log handler has been overriddenTimo Sirainen-6/+9
2021-05-10lib: abort() on unexpected exit()Timo Sirainen-0/+3
2021-05-10global: Replace exit() with lib_exit()Timo Sirainen-1/+1
2020-08-13lib: Fix sending log lines when prefix is larger than PIPE_BUFTimo Sirainen-1/+19
2020-02-06global: Replace most gettimeofday() calls with i_gettimeofday()Timo Sirainen-2/+2
2018-11-29lib: Fix failure_context.log_prefix_type_pos handlingTimo Sirainen-2/+1
2018-09-03lib: Add failure_context.log_prefix_type_posTimo Sirainen-2/+13
2018-09-03lib, log: Add log prefix length to internal logging protocolTimo Sirainen-4/+22
2018-09-03lib: failures - Use common log_prefix_add() for default and syslog formattersTimo Sirainen-11/+22
2018-09-03lib: failures - Move adding LF from default_format() to default_write()Timo Sirainen-1/+1
2018-09-03lib: Move failure handler structs and typedefs to failures-private.hTimo Sirainen-19/+1
2018-09-03lib: Make failure handler variables staticTimo Sirainen-12/+18
2018-09-03lib: Rename handler_config variable to failure_handlerTimo Sirainen-18/+18
2018-08-31lib: Implement vfuncs for logging to stderrSergey Kitov-55/+56
2018-08-31lib: Implement vfuncs for logging to syslogSergey Kitov-58/+65
2018-08-31lib: Implement vfuncs for logging to default location and common failure logg...Sergey Kitov-62/+121
2018-08-31lib: Introduce abstraction for failure logging implementations.Sergey Kitov-0/+20
2018-06-18lib: When log writing keeps returning EAGAIN, change process title only onceTimo Sirainen-14/+24
2018-06-18lib: If log write returns EAGAIN, use poll() instead of ioloop for waitingTimo Sirainen-16/+25
2018-06-18lib: Revert earlier "log write is blocking" handling changeTimo Sirainen-41/+25
2018-05-19lib: Fix potential crashes when writing to log fails with EAGAINTimo Sirainen-25/+41
2018-04-27lib: Add i_failure_handler_is_internal()Timo Sirainen-0/+6
2018-04-23global: Replace str_append_n() with str_append_max()Timo Sirainen-1/+1
2018-04-23global: Replace str_append_n() with str_append_data() wherever possibleTimo Sirainen-1/+1
2018-01-01Updated copyright notices to include the year 2018.Stephan Bosch-1/+1
2017-12-18lib: Fix using failure_context.log_prefix with internal log process communica...Timo Sirainen-2/+7
2017-12-18log: Add "disable log prefix" flag to log linesTimo Sirainen-6/+14
2017-12-13lib: Add failure_context.log_prefix to override the defaultTimo Sirainen-6/+11
2017-12-13lib: Add i_log_typev()Timo Sirainen-2/+6
2017-11-27lib: Make sure panics/fatals don't recurse into loopsTimo Sirainen-2/+10
2017-11-01global: Fix spelling mistakes in commentsAki Tuomi-1/+1
2017-10-05global: stop including fd-set-nonblock.h & fd-close-on-exec.h directlyJosef 'Jeff' Sipek-2/+0
2017-10-05global: Remove dead codeTimo Sirainen-3/+6
2017-09-21lib: If log writing to log process is blocking, show it in process titleTimo Sirainen-2/+20
2017-01-01Updated copyright notices to include the year 2017.Stephan Bosch-1/+1
2016-12-24global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zer...Stephan Bosch-4/+4
2016-12-16global: Change string position/length from unsigned int to size_tTimo Sirainen-4/+4
2016-01-13global: freshen copyrightTimo Sirainen-1/+1
2015-09-23Remove now-unnecessary direct stdlib.h #includes.Teemu Huovila-1/+0
2015-02-06lib: Added i_get_failure_prefix()Timo Sirainen-0/+5
2015-01-05global: freshen copyrightPhil Carmody-1/+1
2014-10-06Minor code cleanup to previous change.Timo Sirainen-2/+2
2014-10-06log_timestamp setting supports now %{usecs}Timo Sirainen-9/+29
2014-07-04lib: failures - cosmetic write_full cleanupPhil Carmody-2/+2
2014-02-04Updated copyright notices to include year 2014.Timo Sirainen-1/+1
2013-12-08Renamed DEBUG_OUTOFMEM environment to CORE_OUTOFMEM. Added CORE_ERROR to dump...Timo Sirainen-2/+6
2013-10-03If DEBUG_OUTOFMEM environment is set, abort() on "out of memory" errors.Timo Sirainen-1/+2