| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
... plus some celanup and adding minor missing functionality
(the rule debug info again tell the property name, not just number).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some things inside the message can be used over a large number of
messages and need to to be allocated and re-written every time. I now
begin to implement this as a "prop_t" object, first use for the inputName.
Some input modules are already converted, some others to go. Will do
a little performance check on the new method before I go further.
Also, this commit has some cleanup and a few bug fixes that prevented
compiliation in debug mode (I overlooked this as I did not compile
for debug, what I normally do, and the automatted test also does not
do that)
|
| |
|
|
|
|
|
| |
WARNING: currently, message repeation processing is disabled, must
be reenabled (but prefer to do some other tests first)
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
runtime/msg.h
tcps_sess.c
tcpsrv.c
tools/syslogd.c
|
| |
| |
| |
| |
| | |
... as well as some cleanup (some commented-out code is left to
support UxTradMsg again is someone really complains ;)).
|
| |
| |
| |
| |
| |
| | |
- saved gettimeofday() calls in imtcp (and increased reception buffer)
- somewhat optimized stringbuf.c
- some other optimizations
|
| | |
|
|/
|
|
|
|
| |
... and also made it callable via an rsyslog interface rather then
relying on the OS loader (important if we go for using it inside
loadbale modules, which we soon possible will)
|
|
|
|
|
|
|
|
|
|
|
| |
Well, actually this and a lot of related things. I improved the
testbench so that the new capabilities are automatically tested and
also did some general cleanup. The current multiple tcp listener
solution will probably receive some further cleanup, too, but looks
quite OK so far. I also reviewed the way tcpsrv et all work, in
preparation of using this code for imdiag. I need to document the
findings, especially as the code is rather complicated "thanks" to
the combination of plain tcp and gssapi transport modes.
|
|
|
|
|
|
| |
pkg-config uses uppercase for its _CFLAGS and _LIBS variable names.
So we follow suit and convert all _cflags and _libs variables to
uppercase for more consistency.
|
|
|
|
|
|
| |
...this improves performance and consistency and also fixes
a bug where subsecond time properties generated by imfile, imklog and
internal messages could be slightly inconsistent.
|
|
|
|
|
|
|
|
| |
- added message property "inputname", which contains the name of the
input (module) that generated it. Presence is depending on suport in
each input module (else it is blank).
- added system property "$myhostname", which contains the name of the
local host as it knows itself.
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
doc/rsyslog_ng_comparison.html
|
| |
| |
| |
| | |
...which fixed the imfile segfault issue.
|
| |
| |
| |
| |
| | |
Thanks to lperr for an excellent bug report that helped detect this
problem.
|
| |
| |
| |
| |
| | |
Also added redirector to web description of error codes
closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
cleanup + created an abstract class for global data
items and moved glblGetWorkDir to it
|
| |
| |
| |
| |
| | |
reduced dependencies, moved non-runtime files to its own directory except
for some whom's status is unclear
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
plugins/imklog/imklog.c
|
| |
| |
| |
| |
| | |
Thanks to Michael Biebl for pointing out that the kernel log did
not have them.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
source and its capablity to be delayed without bad side effects)
|
|
|
|
| |
Johnny Tan for an excellent bug report
|
|
|
|
| |
may be an error...)
|
| |
|
| |
|
|
|
|
|
|
| |
own class and converted to new object calling conventions
(interface-based)
- converted gss-misc into a loadable library module
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- moved module loader from conf.c to module.c, where it belongs
- made the necessary plumbing to auto-load library modules
- upgraded debug system to include iRet in function exit message
- changed module interface so that instances need only to be supported by
output plugins (if we actually need them for input plugins, we can
always add it again...)
- milestone: first implementation of library modules (but do not get
unloaded on exit/hup so far)
|
|
|
|
| |
- changed module interface version, as the interface change is quite large
|
|
|
|
| |
terminated before it could open all of its to be monitored files)
|
|
|
|
| |
rsyslog (now) and also much easier to type
|
|
|
|
|
| |
- implemented $InputFileFacility config directive
- implemented $InputFileSeverity config directive
|
|
|
|
| |
- some more cleanup
|
| |
|
|
|
|
| |
- implemented $InputFilePollInterval config directive
|
| |
|
|
|
|
|
| |
could not happen in production
- added the ability to persist current read location for the file monitor
|
| |
|
|
|
|
|
|
| |
in additon to logmsg()
- a first, rough implementation of imfile that is able to read files (but
does not persist or handle rotation or whatever)
|
| |
|