4085 Commits

Author SHA1 Message Date
Michael Meckelein
1af0699b39 mod /contrib/delete_mysql, prepared docs for release 2007-08-13 14:07:49 +00:00
Rainer Gerhards
70058d919e improved overall doc quality (some pages were quite old) and linked to more
of the online resources.
2007-08-13 12:42:17 +00:00
Rainer Gerhards
57f735fd3b preparing for 1.18.2 release 2007-08-13 12:03:11 +00:00
Rainer Gerhards
2d0175a1ec - fixed a bug in outchannel code that caused templates to be incorrectly
parsed
- fixed a bug in ommysql that caused a wrong ";template" missing message in
    some cases
2007-08-09 08:12:15 +00:00
Rainer Gerhards
cc6a709ea6 bumped up version number 2007-08-08 13:39:26 +00:00
Rainer Gerhards
07878c04f4 preparing for 1.18.1 2007-08-08 13:00:49 +00:00
Rainer Gerhards
df6c2ba072 added a database cleanup script based on a suggestion of Michael Mansour.
Michael Meckelein adapted it sligthly for use with rsyslog.
2007-08-08 11:58:03 +00:00
Rainer Gerhards
12c7e9ab4b all compile-time settings are now shown in rsyslogd -v, not just the active
ones
2007-08-08 08:11:37 +00:00
Rainer Gerhards
634540541c add config directive $MainMsgQueueSize, which now allows to configure the
queue size dynamically
2007-08-07 13:46:37 +00:00
Rainer Gerhards
1cd5095189 moved code to create/delete message queue to init(), after reading the conf
file. This is a prequisite to allow specifying the queue size in the
    conf file.
2007-08-07 11:04:14 +00:00
Rainer Gerhards
02ca960691 applied patch from Michel Samia to fix compilation when the pthreads
feature is disabled
2007-08-07 09:37:43 +00:00
Rainer Gerhards
a7a9e01329 applied a patch from varmojfekoj which solved a potential segfault of
rsyslogd on HUP
2007-08-06 20:20:51 +00:00
Rainer Gerhards
a88fd47b0f bumping version number 2007-08-03 15:31:55 +00:00
Rainer Gerhards
bd91db7a08 preparing for 1.18.0 2007-08-03 15:10:00 +00:00
Rainer Gerhards
26eeadcf9a perparing for 1.18.0 release 2007-08-03 15:01:50 +00:00
Rainer Gerhards
b727710289 some cleanup 2007-08-02 16:36:03 +00:00
Rainer Gerhards
cab25ffa71 implemented $ActionExecOnlyWhenPreviousIsSuspended config directive 2007-08-02 16:08:15 +00:00
Rainer Gerhards
0814450a39 bumped version number 2007-08-01 11:55:21 +00:00
Rainer Gerhards
bc354a03db preparing for 1.17.6 2007-08-01 10:35:21 +00:00
Rainer Gerhards
7237332915 - changed name of $Include to $IncludeConfig - sound better as it is more
explicit (we'll see where else we get includes for...)
2007-08-01 10:03:59 +00:00
Rainer Gerhards
6c305fdc9a - applied a patch from mildew to prevent rsyslogd from freezing under heavy
load. This could happen when the queue was full. Now, we drop messages
    but rsyslogd remains active.
2007-08-01 08:18:42 +00:00
Rainer Gerhards
0cd5060041 added $include config directive 2007-08-01 08:00:01 +00:00
Rainer Gerhards
0eab6e11e9 - loading default values as done yesterday *is* clean (I've just reviewed
the code again)
- moved omfile-specifc global variables (for cfsysline settings) from
    syslogd.c to omfile.c
2007-08-01 07:26:46 +00:00
Rainer Gerhards
86afe5b17c - all cfsysline directives now use new table-driven cfsysline system except
for $ResetConfigVariables
2007-07-31 16:29:39 +00:00
Rainer Gerhards
19e94f1959 prepared cfsysline.c for integration into output modules 2007-07-31 12:34:45 +00:00
Rainer Gerhards
8e66030477 moved debug printf code out of init() into its own function 2007-07-31 09:17:10 +00:00
Rainer Gerhards
c0b2b6b1bf - added macro to abort a function and go to finalizer
- added output of config file line number when a parsing error occured
2007-07-31 08:40:32 +00:00
Rainer Gerhards
4d162e6a58 - moved umask & file/dir creation mode parsing to cfsysline.c
- added macro for easy and consistent check of iRet return value
2007-07-31 07:37:04 +00:00
Rainer Gerhards
a66a597786 fixed insufficient memory allocation in addAction() and its helpers. The
initial fix and idea was developed by mildew, I fine-tuned it a bit.
    Thanks a lot for the fix, I'd probably had pulled out my hair to find
    the bug...
2007-07-30 16:33:47 +00:00
Rainer Gerhards
6313a34176 - fixed a memory leak in syslogd/init() that happend when the config file
could not be read - thanks to varmojfekoj for the patch
2007-07-30 10:50:35 +00:00
Rainer Gerhards
9f12ca0ac8 fixed a mem leak in OMSRdestruct - freeing the object itself was forgotten
- thanks to varmojfekoj for the patch
2007-07-30 10:47:14 +00:00
Rainer Gerhards
207572e217 fixed a bug that caused ommysql to always complain about missing templates 2007-07-30 10:22:44 +00:00
Rainer Gerhards
6808a7e2f1 - added cfsysline objects - initial set of functions
- fixed bug in OMSRcreate() - always returned SR_RET_OK
2007-07-30 10:12:22 +00:00
Rainer Gerhards
102d7a2e41 preparing for 1.17.5 2007-07-30 07:29:03 +00:00
Rainer Gerhards
ad0f7f7afa fixed a problem with shutting down the worker thread and freeing the
selector_t list - this caused messages to be lost, because the message
    queue was not properly drained before the selectors got destroyed.
2007-07-29 16:33:31 +00:00
Rainer Gerhards
3d15fc03b5 fixed a missing file bug - thanks to Andrea Montanari for reporting this
problem
2007-07-28 15:11:28 +00:00
Rainer Gerhards
8193522d85 - added omsr object (objomsr.c, objomsr.h) - template request for output
modules
2007-07-27 09:15:11 +00:00
Rainer Gerhards
5c3c472079 preparing for 1.17.4 release 2007-07-27 07:16:53 +00:00
Rainer Gerhards
229aa9e644 applied patch from Michel Samia to fix compilation when NOT compiled for
pthreads
2007-07-26 07:50:55 +00:00
Rainer Gerhards
c8eca687f4 bumping version number 2007-07-25 07:35:15 +00:00
Rainer Gerhards
1c7fabaa08 preparing for 1.17.3 2007-07-25 07:20:53 +00:00
Rainer Gerhards
2b487ceb72 fixed a bug that caused rsyslogd to segfault on exit (and probably also on
HUP), when there was an unsent message in a selector that required
    forwarding and the dns lookup failed for that selector (yes, it was
    pretty unlikely to happen;)) thanks to varmojfekoj
    <varmojfekoj@gmail.com> for the patch
2007-07-25 07:07:16 +00:00
Rainer Gerhards
f1e14aefde applied patch from varmojfekoj to solve small mem leak 2007-07-24 09:51:55 +00:00
Rainer Gerhards
cb2fc5f2d6 fixed wrong credits - last patch was by mildew -- sorry for that ;) 2007-07-24 07:35:13 +00:00
Rainer Gerhards
fe0da1ef85 fixed a small memory leak when HUPing syslogd. The allowed sender list now
gets freed. thanks varmojfekoj to for the patch.
2007-07-24 05:59:06 +00:00
Rainer Gerhards
9ee5888309 continued working on modularization; begun to create interface for
configuring actions selector lines; begun basic functionality for
    module initialization and loading built-in modules.
2007-07-23 17:24:41 +00:00
Rainer Gerhards
8f236abd49 fixed a memory leak in config file parsing thanks to varmojfekoj for the
patch
2007-07-23 13:07:30 +00:00
Rainer Gerhards
0d9264f881 rsyslogd now checks on startup if it is capable to performa any work at
all. If it cant, it complains and terminates thanks to Michel Samia for
    providing the patch!
2007-07-23 12:16:31 +00:00
Rainer Gerhards
c1592571e4 bumped version number 2007-07-23 12:06:54 +00:00
Rainer Gerhards
ab449e4198 preparing for 1.17.2 release 2007-07-23 10:40:09 +00:00