10428 Commits

Author SHA1 Message Date
Rainer Gerhards
af60b7f9e1 testbench: reduce start-/stop-timeout
The current value (5 minutes) seemed excessevily wrong and should
probably indicate an error in any case. The new value of 2 minutes
should be fairly safe as well.
2017-04-11 15:12:02 +02:00
Rainer Gerhards
8d67c03d45 solaris: fix coding issues 2017-04-11 10:18:42 +02:00
Rainer Gerhards
925b1ba094 build: solaris sunstudio compiler requires different pthread handling 2017-04-10 10:33:58 +02:00
Rainer Gerhards
684d8852c5 build: do not use GCC-specific functions for non-GCC compatible compilers 2017-04-10 09:16:42 +02:00
Rainer Gerhards
cc386e092f compatibility: fix warnings that occur on Solaris 2017-04-10 09:09:47 +02:00
Rainer Gerhards
203cf82be8 testbench: add support for solaris 2017-04-03 14:14:56 +02:00
Rainer Gerhards
ac13874e21 fix regression from AIX port
broke Solaris build
2017-04-03 12:39:51 +02:00
Rainer Gerhards
981e7121d8 re-enable building on Solaris 2017-04-03 12:09:09 +02:00
Rainer Gerhards
e2ea7dc6d8 maintain ChangeLog 2017-03-22 14:29:11 +01:00
Rainer Gerhards
7dd50519cf Merge pull request #1472 from jhenry82/1470_imrelp_statname
Honor imrelp input name if provided when submitting to impstats
2017-03-22 14:28:02 +01:00
Rainer Gerhards
98b8e07fc8 maintain ChangeLog 2017-03-22 11:56:10 +01:00
Rainer Gerhards
ee6f63bc6c Merge pull request #1471 from rgerhards/q-errmsgs
improve queue error messages
2017-03-22 11:54:41 +01:00
Rainer Gerhards
d741c3e218 queue subsystem: switch to new errmsg obj interface
This is just an internal change meant to be slightly more
efficient.
2017-03-20 15:44:57 +01:00
Rainer Gerhards
1eae620418 improve queue error messages
with the recent change that permits us to emit error messages at
(alomost) any time, we can now provide better end-user diagnostics.
This patch generates error message which could previously only be
logged to the debug log.
2017-03-20 15:44:57 +01:00
Rainer Gerhards
ecaf93b31c maintain ChangeLog 2017-03-20 15:41:09 +01:00
Jon Henry
425472b085 Honor input name if provided when submitting to impstats. Fixes #1470 2017-03-20 13:42:51 +00:00
Rainer Gerhards
92d3a0443b Merge pull request #1473 from rgerhards/qpid-proton
travis: solve changes due to qpid-proton upstream changes
2017-03-20 13:56:31 +01:00
Rainer Gerhards
8e83d6c280 testbench: improve error reporting in dynstats-related tests 2017-03-20 10:32:02 +01:00
Rainer Gerhards
fe9e51efac travis: make qpid-proton work again
Package libqpid-proton3-dev is no longer available for precise.
As such, we cannot install it and so we disable both the installation
and related tests when running on precise.
2017-03-20 10:31:04 +01:00
Rainer Gerhards
4350ba1c59 maintain ChangeLog 2017-03-16 11:12:09 +01:00
Rainer Gerhards
7f6030e0ae Merge pull request #1407 from jvymazal/master
added logging name of source of rate-limited messages
2017-03-16 11:08:21 +01:00
Rainer Gerhards
b7e236cac0 maintain ChangeLog 2017-03-16 10:42:55 +01:00
Rainer Gerhards
90c21dc0eb Merge pull request #1466 from npajkovsky/for-next
fix couple warnings from gcc6
2017-03-16 10:39:08 +01:00
Rainer Gerhards
e1872e990b maintain ChangeLog 2017-03-16 10:33:05 +01:00
Rainer Gerhards
1228a62f28 Merge pull request #1460 from rgerhards/reissue-1441
core/file handling: add new error messages
2017-03-16 10:24:33 +01:00
Rainer Gerhards
cacf865621 core/file handling: add new error messages
Those messages previously went only to the debug log, as due to
design limitations inside the error message subsystem they could
not be emitted at the related code locations. This has changed now,
and so we can improve error reporting.
2017-03-15 17:44:03 +01:00
taotetek
05ec5362ba Merge pull request #1461 from bluca/czmq_regressions
imczmq: fix 2 regressions introduced in 8.19
2017-03-15 09:31:01 -04:00
Nikola Pajkovsky
769b040815 fix missing braces around if stmt
Fixes: e305bdad9ead ("deprecate -u option")
Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
2017-03-10 10:33:29 +01:00
Nikola Pajkovsky
dcd0c5c8dd fix simple warning: no previous prototype for ‘freeFdSet’
../../runtime/unlimited_select.h:38:6: warning: no previous prototype for ‘freeFdSet’ [-Wmissing-prototypes]
 void freeFdSet(fd_set *p) {

Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
2017-03-10 10:28:47 +01:00
Nikola Pajkovsky
99baf4b18c fix error path in loadDrvr()
on error path, if iRet != RS_RET_OK, and ->pDrvrName is non-null,
->pDrvrName is freed and should be set to NULL. However, that was not
true, because what code does now, is, on every iRet != RS_RET_OK sets
pDrvrName to NULL.

Signed-off-by: Nikola Pajkovsky <npajkovsky@suse.cz>
2017-03-10 10:19:28 +01:00
Luca Boccassi
75d5e6ff9e imczmq: if topic is empty subscribe to everything
ZMQ_SUB supports subscribing to every topic, and it's indicated by an
empty string being passed as a topic.
Fix the config parsing to correctly interpret an empty string passed as
a parameter.
This fixes a regression introduced in 8.19 by commit:
299f5a637f97d2ec064ad3df20fa845ef4b7c7e5
2017-03-09 20:17:46 +00:00
Luca Boccassi
8ec2edc638 imczmq: do not set SUB/DISH sockets as serverish
By default it makes sense for ZMQ_SUB and ZMQ_DISH sockets to
connect, as that's the most common use case, unless specified by the
endpoint syntax.
Regression introduced in 8.19 by commit 299f5a637f97d2ec064ad3df20fa8
2017-03-09 20:13:15 +00:00
Rainer Gerhards
21f128c954 maintain ChangeLog 2017-03-09 18:46:27 +01:00
Rainer Gerhards
ef6ff9b9d9 Merge pull request #1448 from rgerhards/i-865
remove ARRAY_PASSING mode, which is no longer used
2017-03-09 18:44:12 +01:00
Rainer Gerhards
51db2728ca maintain ChangeLog 2017-03-09 12:26:33 +01:00
Rainer Gerhards
74f47a0908 Merge pull request #1455 from alorbach/imfile-wildcardfix
imfile: Fixed an issue monitoring wrong files when using multiple imf…
2017-03-09 12:25:01 +01:00
192ab107f2 imfile: Fixed an issue monitoring wrong files when using multiple imfile inputs
The bug was introduced by the changes for the multilevel wildcard feature
which has been added recently. We have to handle FileCreate events different
if the directory watch is configured or added dynamically.

closes https://github.com/rsyslog/rsyslog/issues/1452
2017-03-08 14:35:19 +01:00
Rainer Gerhards
cd51ae3647 core: enable internal messages at any time
previous code could deadlock if internal messages were issued
inside queue processing code, which effectively limited
error-reporting capabilities. This change makes it possible
to call error messages from any part of the code at any time.
This comes at the price of slightly delayed message output.
2017-03-07 09:27:49 +01:00
Rainer Gerhards
c03446f136 maintain ChangeLog 2017-03-07 08:47:19 +01:00
Rainer Gerhards
304937104c Merge pull request #1443 from rgerhards/i-1442
bugfix: rsyslog identifies itself as "liblogging-stdlog" in internal …
2017-03-07 08:44:41 +01:00
Rainer Gerhards
1866afaaf1 Merge pull request #1446 from rgerhards/i-232
testbench/tcpflood: auto-apply silent option during CI runs
2017-03-07 08:44:19 +01:00
Rainer Gerhards
00b6a5f6c2 maintain ChangeLog 2017-03-06 17:51:46 +01:00
Rainer Gerhards
681c4fe772 remove ARRAY_PASSING mode, which is no longer used
... plus it will most probably not work at all if someone
comes along and uses it. So better to remove it.

closes https://github.com/rsyslog/rsyslog/issues/865
2017-03-06 13:09:15 +01:00
Rainer Gerhards
8f5c32c3f4 add new global parameter "umask"
This is equivalent to "$umask" and permits to convert that construct
to new-style config format.

closes https://github.com/rsyslog/rsyslog/issues/1382
2017-03-06 11:35:11 +01:00
Rainer Gerhards
7b98214066 testbench/tcpflood: auto-apply silent option during CI runs
closes https://github.com/rsyslog/rsyslog/issues/232
2017-03-06 10:19:40 +01:00
Rainer Gerhards
9b28e48ef4 maintain ChangeLog 2017-03-06 09:07:59 +01:00
Rainer Gerhards
a6245790ef Merge pull request #1373 from PascalWithopf/i-1372
pmrfc3164: add tests
2017-03-06 09:04:36 +01:00
Rainer Gerhards
9e7d57a925 bugfix: rsyslog identifies itself as "liblogging-stdlog" in internal messages
This occured when liblogging-stdlog was used, and was used by default (without
explicit configuration). This is a regression of the new default, which does
not correctly call stdlog_open() in the default case.

closes https://github.com/rsyslog/rsyslog/issues/1442
2017-03-04 10:46:24 +01:00
Rainer Gerhards
f37d814dd1 Merge pull request #1444 from rgerhards/silence-testbench
testbench: do not spam testbench log with output from ps command
2017-03-02 10:48:18 +01:00
Rainer Gerhards
e654c27af4 testbench: do not spam testbench log with output from ps command
ps is used when waiting on startup and spams the test log if
rsyslog takes longer to start up (or fails to do so). This
makes the log hard to read.
2017-03-02 08:20:35 +01:00