| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
was specified in rsyslog.conf
- fixed a bug that caused a segfault on queues with types other than "disk"
- removed the now longer needed thread TermSyncTool
|
|
|
|
|
| |
simplyfication of output module interface as well as core syslog
processing.
|
| |
|
|
|
|
| |
- implemented $klogSymbolsTwice config directive
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
- changed module interface to include function to query type
|
| |
|
|
|
|
|
|
|
|
|
|
| |
command handler entries need to be removed when module is unloaded
- added support so that linkedlist key can be used for owner handle
- enhanced llExecFunc to support deletion of list elements (on behalf of
user function being called, slight interface change)
- enhanced linkedlist class so that list elements can now be deleted based
on the key value they have
- created entry point so that CfSysLine handlers are removed on modExit()
|
|
|
|
| |
command handler entries need to be removed when module is unloaded
|
| |
|
|
|
|
|
|
| |
- fixed a bug that caused the CStr class to not honor the parameter to
return NULL on empty string - causes a mem leak and can create
favourable environment for other bugs (as it leads to empty hostnames)
|
|
|
|
| |
discard action was used
|
|
|
|
| |
release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
- restructered rsyslogd startup - moved startWorker() to a more appropriate
place
- updated ommysql.c to fully support suspension/resumption by rule engine
|
| |
|
|
|
|
| |
method
|
| |
|
| |
|
|
|
|
|
|
| |
modules
- changed doAction() interface
- templates and output string generation for doActon() is now fully
|
|
|
|
| |
- f_iov and its handling has been removed
|
|
|
|
|
|
|
|
| |
- replaced (mis) use of f_prevcount in omfwd.c -> now data element in
instance data is used for retry counting
- removed f->f_type from syslogd.c, omfwd.c
- removed f->f_file from omfwd.c, omfile.c
- f->f_flags is gone away
|
|
|
|
|
|
| |
- removed references to f_un from omusrmsg.c
- changed module template for parseSelectorAct() [code reduction,
consitency]
|
|
|
|
| |
- milestone reached: no more access to f->f_un in syslogd.c
|
| |
|
| |
|
|
|
|
| |
buffers in order to change output modules one by one
|
|
standard entry points (implemented via preprocessor)
|