aboutsummaryrefslogtreecommitdiffstats
path: root/src/logger.c
Commit message (Collapse)AuthorAgeFilesLines
* Add workaround for clang under linux.Vsevolod Stakhov2011-07-211-1/+1
| | | | Fix problems found by static analyzing.
* Fix coredumps on some specific messages with specific urls.Vsevolod Stakhov2011-07-191-1/+1
| | | | | Fix coredumps while closing log file. Fix parsing of chunked HTTP replies.
* * Rework build process:Vsevolod Stakhov2011-05-101-115/+129
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* Add registering options for lua modulesVsevolod Stakhov2010-12-141-5/+30
| | | | * Add ability to output colored messages for file and console loggers
* * Start new rspamd 0.3.4Vsevolod Stakhov2010-12-031-23/+2
| | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser
* Add some comments about maps and logging internals.Vsevolod Stakhov2010-11-261-3/+51
|
* Make own strlcpy that does not calculate remaining string length (faster and ↵Vsevolod Stakhov2010-11-161-5/+10
| | | | | | more safe) Allow only ASCII symbols in logs, escape control chars
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-32/+32
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Fix inserting composite symbolVsevolod Stakhov2010-08-021-1/+1
| | | | * Fix output of log line
* * Turn off debug_ip during reload if it was disabled by new configVsevolod Stakhov2010-07-261-0/+7
|
* * More debugVsevolod Stakhov2010-07-251-1/+1
|
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-6/+38
| | | | | | | | | * Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
* * Reopen log file by USR1 signalVsevolod Stakhov2010-07-191-14/+8
| | | | * Add reopenlog method to FreeBSD rc script
* * Improve loggingVsevolod Stakhov2010-07-191-3/+3
| | | | | * Write queue id to log * Remove test messages from cmake
* * Use rspamd_snprintf instead of libc oneVsevolod Stakhov2010-06-241-3/+3
|
* * Implement initial version of greylisting triplets storageVsevolod Stakhov2010-06-171-0/+3
| | | | * Fix issues with smtp worker
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-1/+4
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Continue implementing smtp proxyVsevolod Stakhov2010-05-261-0/+3
|
* * Improve logging system:Vsevolod Stakhov2010-04-271-6/+133
| | | | | | | - do not write many repeated messages to log - add process name to log line * Small fixes to FreeBSD port and to start script as we have xml version now * Reconfig modules while rereading config file
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-0/+417
- independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system