32 Commits

Author SHA1 Message Date
Rainer Gerhards
61ba5ff595 Merge branch 'beta'
Conflicts:

	ChangeLog
	configure.ac
	doc/ommail.html
	queue.c
2008-04-15 11:07:59 +02:00
Rainer Gerhards
890f782323 some cleanup 2008-04-11 17:33:13 +02:00
Rainer Gerhards
2b51fcab7b applied patch from Tiziano Müller to remove some compiler warnings 2008-04-11 15:08:09 +02:00
Rainer Gerhards
549c0cccd4 extracted regexp functionality to its own dynamically loadable module 2008-03-07 16:10:58 +00:00
Rainer Gerhards
fa67273c16 - added RSYSLOGD_MODDIR environment variable
- added -M rsyslogd option (allows to specify module directory location)
- converted net.c into a loadable library plugin
2008-03-07 08:06:16 +00:00
Rainer Gerhards
1e047df3b9 added some code to expr.c - not yet to be used 2008-02-13 07:08:18 +00:00
Rainer Gerhards
004229dda6 changed license to GPLv3 (for what is to become rsyslog v3) 2007-12-14 11:21:57 +00:00
Rainer Gerhards
83b91cb894 adding sur5r's postgres module - many thanks for providing it! There are a
number of patches necessary to core modules, because we need a new
    formatting function (date-pgsql).
2007-12-03 11:06:46 +00:00
Rainer Gerhards
82aeadce54 - changed part of the CStr interface so that better error tracking is
provided and the calling sequence is more intuitive (there were invalid
    calls based on a too-weired interface)
- (hopefully) fixed some remaining bugs rooted in wrong use of the CStr
    class. These could lead to program abort.
2007-09-05 15:59:47 +00:00
Michael Meckelein
262111689f patches and docu update for 1.19.3 2007-08-31 12:47:35 +00:00
Rainer Gerhards
acb7dae3ae moved action object out of syslogd.c to its own fileset (action.c/h) 2007-08-06 20:51:52 +00:00
Rainer Gerhards
5197130228 - I found out that we finally have problems with the (somewhat recursive)
call to logerror() that many of the modules do. I have not tried it,
    but I think things will become wild when we compile without pthread
    support. Threading prevents full recursion, so we have not seen any bad
    effects so far. However, the problems that I experienced in ommysl
    (that caused me to re-structure startWorker()) are actually rooted in
    this issue. I first thought to fix it via a module interace, but I now
    came to the conclusion that it is not more effort and much cleaner to
    do an internal error buffering class. This is implemented in
    errbuf.c/h.
- I just noticed that this is not actually an error buf, but the core of an
    input module for all internal messages. As such, I implement it now as
    iminternal.c/h. Of course, there is no input module interface yet
    designed, but that doesn't matter. Worst-case, I need to re-write the
    im, best case I can use the im (at least partly) to define the
    interface.
- added a few functions to the linkedlist class
- error messages during startup are now buffered - so we do no longer need
    to think about how emergency logging might work. Actually, these are
    logged to whatever is instatiated in the log file. This enhances the
    chance that we will be able to drop the error message somewhere it is
    seen.
2007-08-03 14:58:24 +00:00
Rainer Gerhards
6b24fa20d4 moved file write output module to own set of code files 2007-07-22 16:03:45 +00:00
Rainer Gerhards
4d53a1e6a3 moved part of the shell action to its own module 2007-07-20 15:40:01 +00:00
Rainer Gerhards
4a963e5f1f code cleanup (removed compiler warnings 2007-07-18 15:16:15 +00:00
Rainer Gerhards
48c0c81132 fixed minimal memory leak on HUP (caused by templates) thanks to
varmojfekoj for the patch
2007-07-18 10:49:27 +00:00
Rainer Gerhards
456c701f8c some more unsigned char conversions... 2007-07-04 09:41:42 +00:00
Rainer Gerhards
53c1a7305e added support for dynamic file names in selector lines. Can now be created
with templates.
2007-07-03 12:39:13 +00:00
Rainer Gerhards
b3497a08c8 property replacer options space-cc and drop-cc added 2006-11-17 13:44:50 +00:00
Rainer Gerhards
64dc3591f4 made the field-delimiter inside property replacer (templates) configurable 2006-09-27 15:54:07 +00:00
Rainer Gerhards
cb4ebecb2f added support for field-based text extraction in the property replacer.
This is untested so far (the evening came quicker than anticipated ;))
2005-12-22 17:38:04 +00:00
Rainer Gerhards
3036425786 fixed a problem with MySQL field escapes 2005-09-23 09:10:28 +00:00
Rainer Gerhards
a1b8bbd8a2 merged Andres Riancho's regex extensions into the code (hopefully
correctly)
2005-09-13 13:57:28 +00:00
Rainer Gerhards
7ac6b3d6d0 memory leak fixed 2005-02-22 16:24:49 +00:00
Rainer Gerhards
ba69aa6395 property option drop-last-lf added; some doc in test.conf 2004-12-08 09:31:30 +00:00
Rainer Gerhards
7720bcded1 fixed the bug, template engine should now work 2004-11-25 10:03:18 +00:00
Rainer Gerhards
fb3b061854 everything in place now to support writing to SQL 2004-11-23 17:10:55 +00:00
Rainer Gerhards
fc45231d62 now includes sql option in template to escape quote chracters 2004-11-23 08:51:24 +00:00
Rainer Gerhards
df4d27d753 fixing upload error - template parser also ok 2004-11-19 11:09:55 +00:00
Rainer Gerhards
fb5606f892 MsgObjNearlyCompleted 2004-11-18 15:29:41 +00:00
Rainer Gerhards
9a7c44921d ComingCloser 2004-11-17 17:08:52 +00:00
Rainer Gerhards
ad0011c814 begin templates 2004-11-17 14:32:37 +00:00