summaryrefslogtreecommitdiffstats
path: root/src/logger.c
Commit message (Collapse)AuthorAgeFilesLines
* Varargs versions of logging functions.Vsevolod Stakhov2014-02-201-35/+45
|
* Fix reload of rspamd.Vsevolod Stakhov2013-12-251-4/+4
|
* Simplify logfiles escaping.Vsevolod Stakhov2013-12-231-14/+28
|
* Fix logging in rspamd-util routines.Vsevolod Stakhov2013-06-041-6/+45
|
* Add /maps and /getmap commands to webui.Vsevolod Stakhov2013-01-061-1/+2
| | | | | | Identify maps by id. Initialize secure random numbers using openssl. Add description to maps.
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-1/+1
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* Add quarks to events to determine source of event inside rspamd.Vsevolod Stakhov2012-02-131-0/+14
| | | | Another try to fix threading.
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-4/+4
| | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture.
* * Fix reopening of logs in case of privilleged run.Vsevolod Stakhov2011-11-301-20/+49
|
* 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