Saturday, August 04, 2007

syslog changes on 2007-08-03

here's friday's work log:

- added CODE_STD_FINALIZERparseSelectorAct to module-generation macros
- restructered rsyslogd startup - moved startWorker() to a more
- updated ommysql.c to fully support suspension/resumption by rule
- I found out that we finally have problems with the (somewhat
call to logerror() that many of the modules do. I have not tried it,
I think things will become wild when we compile without pthread
Threading prevents full recursion, so we have not seen any bad effects
so far. However, the problems that I experienced in ommysl (that
me to re-structure startWorker()) are actually rooted in this issue.
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
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
- added a few functions to the linkedlist class
- error messages during startup are now buffered - so we do no longer
to think about how emergency logging might work. Actually, these are
to whatever is instatiated in the log file. This enhances the chance
we will be able to drop the error message somewhere it is seen.
- released 1.18.0
- reduced number of identical error messages in ommysql.c while

No comments:

Busy at the moment...

Some might have noticed that I am not as active as usual on the rsyslog project . As this seems to turn out to keep at least for the upcomi...