Rainer Gerhards
a7eb97b930
- added "debug" command to debug environment settings
...
- changed the object/interface system to use a new way of calling, giving
up the numerical object ID. This was necessary as we needed more
extensibility for third-party modules (which don't play at all with the
previous fixed object ID). This is stage work for the object loader.
Please note that I needed to change the object (de)serializer, I can't
outrule that I have introduced bugs there.
2008-02-29 16:02:07 +00:00
Rainer Gerhards
b87d6629d0
- bugfix: queue aborted when it was shut down, DA-enabled, DA mode was just
...
initiated but not fully initialized (a race condition)
- bugfix: queue properties sizeOnDisk, bytesRead were persisted to disk
with wrong data type (long instead of int64) - could cause problems on
32 bit machines
- fixed a problem introduced today, on-disk queue size was now wrongly
calculated (but not in any released version)
2008-02-27 17:27:26 +00:00
Rainer Gerhards
013073f1a6
changed rsCStrObj name to cstr_t, which is more inline with the rest of
...
rsyslog (now) and also much easier to type
2008-02-21 07:00:29 +00:00
Rainer Gerhards
18bea60667
added ability to monitor file accross rotation
2008-02-13 09:39:21 +00:00
Rainer Gerhards
722e691af7
- introduced a new, more powerful, message submission interface submitMsg()
...
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)
2008-02-13 08:14:47 +00:00
Rainer Gerhards
41fb70130f
bugfix: having fun with 32/64 bit portability - after 15 years, I finally
...
was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit
platforms
2008-01-31 12:54:10 +00:00
Rainer Gerhards
0e3b40fd8a
- implemented limiting disk space allocated to queues
...
- addded $MainMsgQueueMaxDiskSpace config directive
- addded $ActionQueueMaxDiskSpace config directive
2008-01-30 19:07:23 +00:00
Rainer Gerhards
ed0363210c
worked on threading
2008-01-17 12:45:10 +00:00
Rainer Gerhards
77a338e180
- implemented $MainMsgQueueTimeoutActionCompletion config directive
...
- implemented $MainMsgQueueTimeoutEnqueue config directive
- implemented $MainMsgQueueTimeoutShutdown config directive
- some cleanup
2008-01-14 11:55:24 +00:00
Rainer Gerhards
abdcea7d8f
support for reading back persistet queue information completed
2008-01-13 15:47:41 +00:00
Rainer Gerhards
366060a51d
partial ability to read a disk queue back in (not completed, but would like
...
to save source for the weekend)
2008-01-11 19:38:09 +00:00
Rainer Gerhards
a80f7776c5
support for de-serializing strm objects added
2008-01-11 16:52:19 +00:00
Rainer Gerhards
8dad399750
file stream objects are now persistet on immediate queue shutdown (queue
...
itself is not yet fully persisted)
2008-01-11 14:12:25 +00:00
Rainer Gerhards
a244eb7739
- implemented strm object serializer (untested as the code required for
...
test is not yet present - hen/egg problem...)
2008-01-10 15:01:49 +00:00
Rainer Gerhards
fa859275c6
- added write functions for several types to stream class
...
- changed objSerialize methods to work directly on the stream class
2008-01-10 13:09:43 +00:00
Rainer Gerhards
8a861afefa
data record support added to stream output writer
2008-01-10 09:25:00 +00:00
Rainer Gerhards
79040541b7
added buffered output to stream class
2008-01-10 09:08:13 +00:00
Rainer Gerhards
24c125cfc3
made queue file names better readable
2008-01-10 08:00:47 +00:00
Rainer Gerhards
c247f4e027
changed queue file name generation (to be more generic)
2008-01-10 07:03:22 +00:00
Rainer Gerhards
dee5485ade
some cleanup on object model
2008-01-09 18:54:20 +00:00
Rainer Gerhards
aa7e00d8e1
changed queue class to use stream class
2008-01-09 17:25:07 +00:00
Rainer Gerhards
fd8c6452c8
created a generic stream class (for file access)
2008-01-09 13:27:07 +00:00