Rainer Gerhards
c7b455524b
add "senders.reportNew" global parameter
2016-02-01 17:27:11 +01:00
Rainer Gerhards
af1a845a96
add "senders.keeptrack" global parameters
...
permits to turn on/off (default) sender tracking and stats
2016-02-01 15:49:17 +01:00
Rainer Gerhards
c0736fe344
emit warning if sender has not been seen for a period of time
...
controllable via
global(senders.reportGoneAway="on" senders.timeoutAfter="10")
see also https://github.com/rsyslog/rsyslog/issues/751
2016-02-01 15:07:32 +01:00
Jan Gerhards
9125ddf99d
add global parameter "debug.gnutls"
...
enables GnuTLS indepth debugging
closes https://github.com/rsyslog/rsyslog/issues/219
2015-01-26 16:02:24 +01:00
Rainer Gerhards
7c097d363a
bugfixes for maxMessageSize global parameter
...
closely related, thus done in a single commit:
- bugfix: invalid data size for iMaxLine global property
It was defined as int, but inside the config system it was declared as
size type, which uses int64_t. With legacy config statements, this could
lead to misadressing, which usually meant the another config variable was
overwritten (depending on memory layout).
closes https://github.com/rsyslog/rsyslog/issues/205
- bugfix: negative values for maxMessageSize global parameter were permitted
2015-01-13 09:55:42 +01:00
Tomas Heinrich
fddd1d98f4
Make liblogging-stdlog optional
...
Conflicts:
configure.ac
tools/rsyslogd.c
2014-12-03 15:33:26 +01:00
Rainer Gerhards
56b17e6a81
make datetime parser use new tzinfo infrastructure
...
also do some additons/modifications to infrastructure
2014-07-09 19:34:12 +02:00
Rainer Gerhards
d426ac4af2
new tzinfo config object -- permits to define time zone offsets
2014-07-09 19:11:59 +02:00
Rainer Gerhards
fcf8e953b0
janitor: base functionality given for omfile
2014-05-16 14:22:20 +02:00
Rainer Gerhards
3065e0fbcd
add support for specifying the liblogging-stdlog channel spec
...
new global parameter "stdlog.channelspec"
2014-04-01 12:41:51 +02:00
Nate Brown
87480252e9
Making parser.escapeControlCharactersCStyle in line with the other parser configs
2014-01-28 11:10:38 -08:00
Nate Brown
9aeda6447b
Merge remote-tracking branch 'upstream/master' into global_config
...
Conflicts:
runtime/glbl.c
2014-01-27 14:11:03 -08:00
Nate Brown
80edcd575b
Adding global config support for parser.escapecontrolcharactertab
2014-01-27 11:30:56 -08:00
Nate Brown
f4bdc3673d
Adding global config support for parser.escape8bitcharactersonreceive
2014-01-27 11:17:27 -08:00
Nate Brown
a42ef0a122
Adding global config support for parser.spacelfonreceive
2014-01-27 11:09:14 -08:00
Nate Brown
e5f5f73e2b
Adding global config support for parser.escapecontrolcharactersonreceive
2014-01-27 11:00:31 -08:00
Nate Brown
59580d3f7d
Adding global config support for parser.droptrailinglfonreception
2014-01-27 10:40:38 -08:00
Nate Brown
6711ea4349
Porting over controlcharacterescapeprefix to global parser.controlcharacterescapeprefix
2014-01-24 19:42:17 -08:00
Rainer Gerhards
4b5eba722c
Merge branch 'v7-stable-stdlog' into v7-devel
...
Conflicts:
runtime/glbl.c
runtime/glbl.h
tools/syslogd.c
2014-01-21 12:08:42 +01:00
Rainer Gerhards
ec01259427
add "processInternalMessages" global config parameter
2014-01-21 11:50:06 +01:00
Rainer Gerhards
80be25a5e0
add debug.OnShutdown global parameter
2013-12-11 14:51:53 +01:00
Rainer Gerhards
22ad2d2f0a
re-enable legacy $WorkDir for queue spool directory use
2013-12-09 15:51:46 +01:00
Rainer Gerhards
dcee4926b5
re-enable legacy $WorkDir for queue spool directory use
2013-12-09 15:40:20 +01:00
Rainer Gerhards
e82d4c8f3e
main_queue() config object added
...
doc still missing
2013-07-19 13:11:26 +02:00
Rainer Gerhards
53e99a6cff
fix invalid function prototypes
...
regression from yet-unreleased enhancement (RELP IP address setting)
2013-05-13 08:50:06 +02:00
Axel Rau
7369904b57
Add configurable local client IP
2013-05-06 17:42:17 +02:00
Rainer Gerhards
8aad93c582
imuxsock: add capability to ignore messages from ourselfes
...
This helps prevent message routing loops, and is vital to have
if omjournal is used together with traditional syslog.
2013-02-26 09:58:17 +01:00
Rainer Gerhards
d6da57ae03
Merge branch 'v5-stable-newstats'
...
Conflicts:
action.c
configure.ac
doc/imuxsock.html
plugins/imklog/imklog.c
plugins/imptcp/imptcp.c
plugins/imtcp/imtcp.c
plugins/imudp/imudp.c
plugins/imuxsock/imuxsock.c
runtime/glbl.c
runtime/glbl.h
runtime/net.c
runtime/ruleset.c
tcpsrv.h
tools/syslogd.c
2012-04-07 15:42:46 +02:00
Rainer Gerhards
49ec54d369
milestone: added capability to use a local interface IP address as fromhost-ip
...
... for locally originating messages. New directive $LocalHostIPIF.
Note that not all modules yet support this new directive - next step...
2012-03-21 11:43:45 +01:00
Rainer Gerhards
9ce9fbb28f
milestone: new output plugin interface call added
2011-07-21 11:14:52 +02:00
Rainer Gerhards
74c2e98c13
milestone: glbl obj parameters settable via new conf interface
2011-07-19 17:53:23 +02:00
Rainer Gerhards
4eadfb6481
first shot at scoping (for actions only)
...
parser now supports $Begin action, $End action, $StrictScoping,
but not yet the actual semantics.
2010-07-23 15:22:47 +02:00
Rainer Gerhards
0957820a10
Merge branch 'v4-devel'
...
Conflicts:
doc/rsyslog_conf_modules.html
gss-misc.c
plugins/imgssapi/imgssapi.c
plugins/imudp/imudp.c
plugins/imuxsock/imuxsock.c
runtime/glbl.c
runtime/glbl.h
runtime/net.c
2009-11-17 10:38:46 +01:00
Rainer Gerhards
9e28d47aaa
worked a bit on "unlimited select()" patch
...
- potential segfault in gss-misc.c
- glbl interface needed different version ID
- some compile time warning cleanup
2009-11-17 10:14:02 +01:00
Rainer Gerhards
f94a3034b6
integrating varmojfekoj's "unlimited select()" patch into v4-devel
2009-11-17 09:10:24 +01:00
varmojfekoj
30c2e42ec3
added option to use unlimited-size select() calls
...
Thanks to varmjofekoj for the patch
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2009-11-17 09:00:01 +01:00
Rainer Gerhards
6f511cecfa
more cleanup and working towards a parser module calling interface
...
I cleaned up a lot of config variable access along the way. This
version compiles and runs, but does not yet offer any enhanced
functionality. pmrfc5424 is just a dummy that is not yet being used.
2009-11-03 12:39:48 +01:00
Rainer Gerhards
7d92de155c
internal: added ability to terminate input modules not via pthread_cancel...
...
... but an alternate approach via pthread_kill. This is somewhat safer as we
do not need to think about the cancel-safeness of all libraries we use.
However, not all inputs can easily supported, so this now is a feature
that can be requested by the input module (the most important ones
request it).
2009-07-20 18:36:30 +02:00
Rainer Gerhards
60a7a0d4d0
$HUPisRestart removed
...
... but the rest of the code is not yet cleaned-up. Will do that
slowly over time... (huge potential, but must be done carefully)
2009-07-15 12:59:28 +02:00
Rainer Gerhards
aaffc4281e
introduced a new way of handling the RcvFrom property
...
... plus a fix for a long-time bug in obj-types.h. That lead to
the object pointer only then to become NULL when the object was
actually destructed, I discovered this issue during
introduction of the pRcvFrom property in msg_t, but it potentially had other
effects, too. I am not sure if some experienced instability resulted from this
bug OR if its fix will cause harm to so-far "correctly" running code. The later
may very well be. Thus I will change it only for the current branch and also
the beta, but not in all old builds. Let's see how things evolve.
2009-06-30 18:45:41 +02:00
Rainer Gerhards
31344728fe
bufgix: $PreserveFQDN was not properly handled for locally emitted messages
2008-12-20 12:56:41 +01:00
Rainer Gerhards
60b8ce14bf
added $PreserveFQDN config file directive
...
Enables to use FQDNs in sender names where the legacy default
2008-12-08 15:42:47 +01:00
Rainer Gerhards
6334d335d8
added configuration directive "HUPisRestart"
...
...which enables to configure HUP to be either a full restart
or "just" a leightweight way to close open files
2008-10-23 14:46:47 +02:00
Rainer Gerhards
cf38fc8175
added a setting "$OptimizeForUniprocessor"
...
...to enable users to turn off pthread_yield calls which are
counter-productive on multiprocessor machines (but have been
shown to be useful on uniprocessors)
2008-10-22 13:54:40 +02:00
Rainer Gerhards
1a9ac0ced7
removed compile time fixed message size limit (was 2K)
...
The limit can now be set via $MaxMessageSize global config
directive (finally gotten rid of MAXLINE ;))
2008-09-02 11:38:31 +02:00
Rainer Gerhards
d451808236
reduced number of compile warnings in -pedantic gcc mode
2008-06-27 10:10:47 +02:00
Rainer Gerhards
74ab20fa5c
made default certificate file locations configurable
...
- added $DefaultNetstreamDriverCAFile config directive
- added $DefaultNetstreamDriverCertFile config directive
- added $DefaultNetstreamDriverKeyFile config directive
2008-05-05 12:59:06 +02:00
Rainer Gerhards
1daf8d492f
converted netstrm into generic netstrm and the nsd_pctp driver
2008-04-18 11:40:15 +02:00
Rainer Gerhards
e5130affc0
moved "glblModPath" variable inside global data pool
...
(but still as a variable, not part of glbl object)
2008-04-17 11:17:15 +02:00
Rainer Gerhards
43a282dd96
declared glbl class to be abstract (saves some housekeeping)
2008-04-17 11:00:51 +02:00