Rainer Gerhards
4266ca066d
Merge pull request #1570 from PascalWithopf/i-1552
...
imfile: add posibility to truncate msg and process the truncated part…
2017-05-20 10:23:13 +02:00
PascalWithopf
8ceaddde35
imfile: add posibility to truncate msg
...
closes https://github.com/rsyslog/rsyslog/issues/1552
2017-05-19 12:04:02 +02:00
Rainer Gerhards
24780ef71d
Merge pull request #1569 from rgerhards/nitfixes
...
cosmetic: build system still used JSON_C name
2017-05-19 10:17:33 +02:00
Rainer Gerhards
41bfe274e6
Merge pull request #1566 from Whissi/fix-librdkafka-detection
...
Improve librdkafka detection
2017-05-18 09:58:12 +02:00
Rainer Gerhards
f66b7f3a22
Merge pull request #1560 from yosnoop/changelog-typo
...
Fixed a typo in Changelog
2017-05-18 09:16:16 +02:00
Thomas Deutschmann
15e2e8fc70
configure: imkafka: Only check for rdkafka library when package config check has failed
2017-05-17 23:56:03 +02:00
Thomas Deutschmann
a2d61589ae
configure: omkafka: Check for rdkafka package config first
...
We are currently only checking for librdkafka package config file but
the file was renamed to rdkafka long time ago.
This commit will make sure that we check for the current pc file first,
check for old name second and fall back to the library check as last
resort.
2017-05-17 23:49:03 +02:00
Rainer Gerhards
7035e0c452
maintain ChangeLog
2017-05-17 13:43:41 +02:00
Rainer Gerhards
bd5c909451
Merge pull request #1562 from PascalWithopf/i-1266
...
imptcp: add new parameter flowControl
2017-05-17 13:43:11 +02:00
PascalWithopf
f16e37fa0e
imptcp: add new parameter flowControl
2017-05-17 08:24:39 +02:00
Ty Hahn
19000f0f4b
Fixed a typo in Changelog
2017-05-17 05:40:55 +09:00
Rainer Gerhards
3ac9051b12
cosmetic: build system still used JSON_C name
...
... but used it for libfastjson. This was a left-over when we
could use both json-c and libfastjson. As github user hdatma
pointed out, this was confusing to users. This has now been
changed to LIBFASTJSON. No functional changes.
2017-05-16 11:05:57 +02:00
Rainer Gerhards
2bd07153bf
bump version mumber for next dev cycle
2017-05-16 10:44:50 +02:00
Rainer Gerhards
063f4701e3
prepare for 8.27.0 release and merge branch 'master' into v8-stable
v8.27.0
2017-05-15 11:44:03 +02:00
Rainer Gerhards
38d0bff2e1
maintain ChangeLog
2017-05-15 11:30:33 +02:00
Rainer Gerhards
7b6f76f4b9
Merge pull request #1554 from rgerhards/osx
...
make rsyslog build on osx
2017-05-15 11:27:56 +02:00
Rainer Gerhards
470c7be57c
build system adaptions for osx
2017-05-15 10:22:20 +02:00
Rupert
a6a24abf13
portability: fixes needed to build on osx
...
Thanks to github user hdatma
2017-05-15 09:05:05 +02:00
Rainer Gerhards
caff8cf37b
travis: add testing on osx
2017-05-15 09:05:00 +02:00
Rainer Gerhards
a744313570
Merge pull request #1558 from alorbach/kafka-extension
...
imkafka input module extension
2017-05-12 15:20:32 +02:00
Rainer Gerhards
bd28fbf909
maintain ChangeLog
2017-05-12 15:05:59 +02:00
Rainer Gerhards
1b6d09ceea
Merge pull request #1449 from rgerhards/i-102
...
fix problems when no parser can parse message
2017-05-12 15:01:56 +02:00
Rainer Gerhards
8ed0ab4f5b
Merge pull request #1537 from allanpark/lmsig_ksi-ls12
...
Merge KSI LS12 signature plugin
2017-05-12 14:57:41 +02:00
a4614d78cf
imkafka: Code cleanup and makefile corrections
...
Added --enable-omkafka back and added --enable-imkafka to configure
options. Only if both are enabled, kafka tests can be used and run.
testbench: replaced old kafka tests with new ones using imkafka/omkafka
imkafka: Added support to custom parameters from confParam
confParam works simular like in omkafka and can be used to set
custom parameters.
testbench: Added missing new kafka testfile
2017-05-12 14:23:37 +02:00
Allan Park
263c18fc0c
Added new module: KSI log signing ver. 1.2 (lmsig_ksi_ls12)
2017-05-11 16:50:41 +00:00
Pascal Withopf
8a84f775d5
imkafka: add new parameter confParam ( #1 )
...
testbench: Fixed testbench settings for new imkafka/omkafka tests
2017-05-11 14:05:38 +02:00
Rainer Gerhards
87b29734f3
core bugfix: memory leak if no parser handles message
...
if no parser can handle a message, the message object is
leaked. If this happens frequently, a rather large leak exists.
see also https://github.com/rsyslog/rsyslog/issues/102
2017-05-11 12:48:08 +02:00
Rainer Gerhards
5a4ea1dd91
bugfix: parser subsystem did not report first 1000 errors...
...
... when no matching parser could be found. From then on, it reported
all remaining occurences of this incident. This was right the counter
of what was intended, happend due to invalid check condition.
2017-05-11 12:48:08 +02:00
Rainer Gerhards
0eac92987b
maintain ChangeLog
2017-05-11 08:24:21 +02:00
Rainer Gerhards
d6396f6360
Merge pull request #1551 from rgerhards/i-1549
...
core: correctly rate-limit internal messages
2017-05-11 08:22:18 +02:00
Rainer Gerhards
42ff72268c
maintain ChangeLog
2017-05-10 14:06:59 +02:00
Rainer Gerhards
835131c570
Merge pull request #1550 from rgerhards/i-1548
...
core bugfix: memory leak when internal messages not processed internally
2017-05-10 14:05:25 +02:00
Rainer Gerhards
5f97ba4d25
core: correctly rate-limit internal messages
...
Rate-limiting is only applied to messages processed internally. While the
external logging system probably also applies rate-limiting, it would be
preferrable that rsyslog applies the same policies on internal messages,
no matter where they go. This commit implements that change.
closes https://github.com/rsyslog/rsyslog/issues/1549
2017-05-10 12:50:44 +02:00
Rainer Gerhards
397ae67d8d
testbench: add test for internal message processing memleak
...
also does some required changes to the test plumbing
2017-05-10 12:43:45 +02:00
Rainer Gerhards
890e3bb0d8
core bugfix: memory leak when internal messages not processed internally
...
In this case, the message object is not destructed, resulting in
a memory leak. Usually, this is no problem due to the low number
of internal message, but it can become an issue if a large number
of messages is emitted.
closes https://github.com/rsyslog/rsyslog/issues/1548
closes https://github.com/rsyslog/rsyslog/issues/1531
2017-05-10 11:46:45 +02:00
7cba5f8128
testbench: Changed kafka server properties for propper multi setup
...
These changes are required for future testcases.
2017-05-10 09:27:31 +02:00
Rainer Gerhards
2f1234255a
Merge pull request #1547 from rgerhards/faketime
...
testbench: invalid init sequence
2017-05-10 09:07:12 +02:00
Rainer Gerhards
0fa3e9249d
testbench: invalid init sequence
...
this causes all libfaketime tests to fail, due to unset
environment variable (which is set in init). Previously
this was no problem because the environment variable did
not exist in any case. Thus the problem went undetected
for a long time.
2017-05-09 17:21:20 +02:00
Rainer Gerhards
bfc4091e7a
maintain ChangeLog
2017-05-09 11:27:44 +02:00
f5438bdea2
imkafka: Initial version if imkafka added
...
Basic features need to be added now.
testbench: Added kafka test with multi kafka instances
All kafka instances are connected to one zookeeper instance.
Diag script has been adjusted to propper start/stop single
kafka instances.
autotools: Added version check for librdkafka to be higher than 0.9.1
2017-05-09 11:15:20 +02:00
Rainer Gerhards
0d35f40356
testbench: reduce kafka test verbosity
...
(squash) enhance kafka test
2017-05-09 11:14:42 +02:00
Rainer Gerhards
7812cab64a
experimenting with test
2017-05-09 11:14:14 +02:00
d277650721
testbench: Added omkafka test with multiple kafka/zookeeper instances
2017-05-09 11:09:20 +02:00
Rainer Gerhards
fd250139c4
Merge pull request #1542 from jvymazal/getaddrinfo_null
...
guard against calling strstr with NULL
2017-05-09 11:04:54 +02:00
Rainer Gerhards
66fbbf1c99
maintain ChangeLog
2017-05-08 11:50:56 +02:00
Rainer Gerhards
5a5bc789c5
Merge pull request #1540 from PascalWithopf/i-1534
...
imfile: fix problem that fileNotFoundError was reported repeatedly in…
2017-05-08 11:48:50 +02:00
Rainer Gerhards
d73724b51a
maintain ChangeLog
2017-05-08 11:47:55 +02:00
Rainer Gerhards
37807c9034
Merge pull request #1545 from rgerhards/i-1526
...
core bugfix: stderr used on shutdown even though it is closed
2017-05-08 11:46:21 +02:00
Allan Park
93a3e9a681
core bugfix: stderr used on shutdown even though it is closed
...
This leads to invalid writes to whatever file is open with file
descriptor 2. The problem only happens during shutdown.
closes https://github.com/rsyslog/rsyslog/issues/1526
2017-05-08 10:51:47 +02:00
Jiri Vymazal
2fd7b361de
guard against calling strstr with NULL
2017-05-03 16:58:40 +02:00