Victor Pryazhnikov
2bc1351c1e
Fix of SyslogUdpHandler mock creation
...
'datetime' value inside of getRecordWithMessage() result is enough,
getDateTime() method is missing & not being used
2021-02-27 15:55:32 +03:00
Victor Pryazhnikov
cdba0c5693
Deprecated setMethods() usages moving to onlyMethods()
2021-02-27 14:47:59 +03:00
Jordi Boggiano
9b5deda678
Merge pull request #1290 from versh23/fix-gelp-formtatter
...
use mb_ functions everywhere if possible
2019-08-30 11:20:47 +02:00
Jordi Boggiano
2eefb0596d
Fix tests, refs #1352
2019-08-16 09:46:27 +02:00
Mario Blažek
37900f9268
Upgrade PHPUnit to v8
2019-08-12 15:20:00 +02:00
vershinin_so
c79d81ec28
mb_* functions with BC
2019-07-08 11:05:19 +03:00
Jordi Boggiano
81108d4e8a
Fix SyslogUdpHandler tests
2019-07-06 13:29:30 +02:00
Jordi Boggiano
69c7f034ff
Merge remote-tracking branch 'origin/1.x'
2019-07-02 16:19:13 +02:00
Dominik Kukacka
80e8b0d575
Add possibility to use RFC3164 for udp syslog
2019-03-22 22:49:38 +01:00
Jordi Boggiano
4a33226f25
Wrap up type-hint adding to all handlers
2018-11-19 23:28:33 +01:00
Dimitri Gritsajuk
67365f0300
Fix test
2018-10-28 14:14:18 +01:00
Jordi Boggiano
772a470c1a
Merge branch '1.x'
2017-03-17 23:01:57 +01:00
Jordi Boggiano
24894709d1
Fix tests
2017-03-17 22:54:56 +01:00
ont
8c40211c3f
Fix array syntax for Travis CI
2017-03-15 12:00:44 +07:00
ont
aa6e88b6de
Complete rfc5424 header for SyslogUdpHandler
...
WARN: this commit adds backward incompatibility for the SyslogUdpHandler
constructor.
2017-03-15 00:57:06 +07:00
Jordi Boggiano
96f4fd718f
CS fixes
2016-09-25 17:46:38 +02:00
Jordi Boggiano
941c21b793
Merge branch '1.x'
2016-09-25 17:41:12 +02:00
Jordi Boggiano
40b4891030
Make sure SyslogUdpHandler does not create empty frames where not necessary, fixes #841
2016-09-25 17:30:37 +02:00
Jordi Boggiano
28742b656f
Undo this LocalSocket fiasco, fix tests for latest phpunit
2016-09-25 16:07:01 +02:00
Jordi Boggiano
c6a9f28e24
Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server
2016-09-19 18:20:42 +02:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Dan Michael O. Heggø
04094e5d99
SyslogUdpHandler: Send a valid rfc5424 version
...
https://tools.ietf.org/html/rfc5424#section-6.2.2
2014-12-11 00:25:16 +01:00
Jordi Boggiano
31358c858f
Add missing license headers
2014-09-30 14:24:28 +01:00
Laurent Laville
0d1a23e7fc
avoid test suites failed with Fatal error when sockets extension is not available
2014-08-14 16:34:32 +02:00
Jordi Boggiano
392ef35fd4
CS fixes
2014-03-23 20:50:26 +01:00
Jordi Boggiano
d4cb2c49f4
Fix test on windows
2013-12-26 11:50:15 +01:00
Jordi Boggiano
b8967466bc
Combine common syslog handlers functionality, refs #258
2013-10-31 22:17:55 +01:00
Jesper Skovgaard Nielsen
16ca77c858
Removed more ['foo' => 'bar'] array notation
2013-10-31 11:06:45 +01:00
Jesper Skovgaard Nielsen
e53d6040c0
Added SyslogUdpHandler.
...
This handler lets you log to a remote syslogd server via UPD. The
use-case here is having many webservers, and the need to gather log-
files on a centralized server.
2013-10-31 09:41:00 +01:00