80 Commits

Author SHA1 Message Date
Bernd Ahlers
dd8bbcd6be Use structured syslog parser from the NessComputing syslog4j fork.
Fixes parsing of structured data values that contain whitespace.
This addresses issues from Graylog2/graylog2-server#845.

Parser and test code from NessComputing/syslog4j@038caf2.
2015-01-14 14:40:25 +01:00
Bernd Ahlers
28a2b817c7 Add failing tests for Graylog2/graylog2-server#845.
https://github.com/Graylog2/graylog2-server/issues/845
2015-01-14 14:04:10 +01:00
Jochen Schalanda
6ee6a7f1a1 [maven-release-plugin] prepare for next development iteration 2014-10-22 16:28:24 +02:00
Jochen Schalanda
8582322dff [maven-release-plugin] prepare release syslog4j-0.9.50 2014-10-22 16:28:23 +02:00
Jochen Schalanda
4996dd00c3 Ensure that dates are always parsed with English locale
SimpleDateFormat is parsing dates in a locale-sensitive manner but timestamps in
syslog messages are always using English month names (RFC 3164, section 4.1.2).
2014-10-22 15:59:07 +02:00
Bernd Ahlers
3a67b21cbf [maven-release-plugin] prepare for next development iteration 2014-10-22 10:00:58 +02:00
Bernd Ahlers
017e57ecea [maven-release-plugin] prepare release syslog4j-0.9.49 2014-10-22 10:00:54 +02:00
Bernd Ahlers
81c8a54512 Bump version to 0.9.49-SNAPSHOT. 2014-10-22 09:59:39 +02:00
Bernd Ahlers
3f4040f69d Fix parsing of ISO timestamps without milliseconds. (syslog-ng default)
This fixes parsing of structured syslog messages sent by syslog-ng.
2014-10-21 20:48:16 +02:00
Bernd Ahlers
3ce15eef4b Start tests for SyslogServerEventTest. 2014-10-21 20:47:19 +02:00
Bernd Ahlers
fc1de3484e Remove unused setUp() method. 2014-10-21 19:31:19 +02:00
Bernd Ahlers
db76a9f689 Add travis build status to README. 2014-10-21 19:21:09 +02:00
Bernd Ahlers
4401cdcd0b Test structured message with only structured data. 2014-10-21 19:18:54 +02:00
Bernd Ahlers
f3d9932d2c Add structured message test without structured data. 2014-10-21 19:13:06 +02:00
Bernd Ahlers
554c5eb4b8 Note message example origin in tests. 2014-10-21 19:12:31 +02:00
Bernd Ahlers
51567265ff Move to a markdown readme and update the content. 2014-10-21 19:00:37 +02:00
Bernd Ahlers
950125c11a Update pom.xml.
* Add some more plugins.
* Update to newer oss parent pom.
* Add some missing settings.
2014-10-21 18:53:01 +02:00
Bernd Ahlers
ef722a9191 Add travis config. 2014-10-21 18:46:32 +02:00
Bernd Ahlers
24daa908bc Start tests for StructuredSyslogServerEvent. 2014-10-21 18:39:35 +02:00
Bernd Ahlers
d6ac701187 Replace junit with testng. 2014-10-21 18:06:19 +02:00
Bernd Ahlers
7380b94581 Merge branch 'reformat' 2014-10-21 17:05:58 +02:00
Bernd Ahlers
73f8cbea9d Ignore idea files and directories. 2014-10-21 17:05:31 +02:00
Bernd Ahlers
ba05c50c7f Reformat code. 2014-10-21 16:57:48 +02:00
Kay Roepke
f56c63a67f more sonatype release stuff 2014-06-16 11:54:12 +02:00
Kay Roepke
93d12a6452 add build plugin version tag 2014-06-16 11:49:02 +02:00
Kay Roepke
e484aaecec renamed to org.graylog2.syslog4j, to have cleaner dependencies in our products
this library is unlikely to be developed further, but is a candidate for a complete rewrite.
nevertheless it wasn't available in maven for our purposes, so we decided to repackage it.
2014-06-16 11:41:49 +02:00
Lennart Koopmann
581e9cd082 link to syslog4j website in readme 2013-03-14 22:12:13 +01:00
Lennart Koopmann
b75591022d missing license file 2013-03-14 22:11:38 +01:00
Lennart Koopmann
c78d651a99 removed target 2013-03-14 22:08:48 +01:00
Lennart Koopmann
c4578dc062 initial 2013-03-14 22:08:21 +01:00