Benjamin Grandfond
0945fcdccb
Catch json_encode recursion error
2012-12-21 23:23:38 +01:00
Jordi Boggiano
0df12342ef
Fix tests
2012-12-14 12:27:44 +01:00
Jordi Boggiano
8dd213fcf1
Merge remote-tracking branch 'origin/master'
2012-12-14 12:21:55 +01:00
Jordi Boggiano
9c8db38385
CS fixes
2012-12-14 12:15:30 +01:00
Jordi Boggiano
6588c1633e
Merge remote-tracking branch 'timmow/logstash-formatter'
2012-12-14 12:07:25 +01:00
Jeremy Mikola
6d3bca8543
Support MongoClient in MongoDBHandler
2012-12-13 15:17:20 -05:00
Tim Mower
798a039040
Add applicationName option which gets set to the logstash @type field
2012-12-10 12:35:34 +00:00
Tim Mower
6aaf70d363
Rename classnames to LogstashFormatter as suggested by @stof
2012-12-10 12:17:05 +00:00
Tim Mower
32e6bff219
Move source files in preparation for rename to LogstashFormatter
2012-12-10 12:16:07 +00:00
Markus Bachmann
6fedfa74ce
Merge remote-tracking branch 'upstream/master' into couchdb
2012-11-21 19:11:25 +01:00
Jordi Boggiano
b23cfd3d6c
Throw an exception on invalid level name
2012-11-14 16:46:10 +01:00
Jordi Boggiano
bcb51e0140
Add $flushOnOverflow and refactor BufferHandler's internals, fixes #120 , fixes #104
2012-11-11 18:03:04 +01:00
Tim Mower
8373c8d57a
Remove references to GelfFormatter
2012-10-17 08:59:38 +01:00
Tim Mower
93329e2a7f
Add logstash formatter
2012-10-17 00:25:52 +01:00
Sebastian Goettschkes
cb675ae10f
Changing typo in variable name and default title for pushover message
2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
d6489bb3ae
Adding a first version of PushoverHandler
...
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00
Jordi Boggiano
a929570bb7
Fix json encoding, fixes #110
2012-09-05 21:32:46 +02:00
Markus Bachmann
e282394736
Add couchdb handler
2012-08-29 18:28:05 +02:00
David Zuelke
76fb21b31b
Allow passing of openlog() options in SyslogHandler ctor
2012-08-29 10:54:14 +02:00
Jordi Boggiano
0ce44f1526
Improve error reporting on failed streams, refs #85
2012-08-18 18:18:40 +02:00
Martin Hasoň
26adcea582
Enabled float timeouts in SocketHandler
2012-08-02 13:10:43 +02:00
Pascal Borreli
0a0c7a3a81
Removed duplicated array key
2012-07-13 11:08:09 +03:00
Jordi Boggiano
ad9d31e0f4
Fix tests
2012-06-19 22:15:23 +02:00
Jordi Boggiano
efa37359df
Merge remote-tracking branch 'pomaxa/master'
2012-06-19 21:40:04 +02:00
Jordi Boggiano
61359a972b
Merge remote-tracking branch 'FGM/master'
2012-06-19 20:28:04 +02:00
pomaxa
e5ffccd422
fix indentation
2012-06-15 17:56:19 +03:00
pomaxa
792634384a
AMQP mock object
2012-06-15 14:48:07 +03:00
pomaxa
6b4f4af85f
get issuer name from record param channel, instead of passing it through handler constructor
2012-06-15 13:18:44 +03:00
Jordi Boggiano
da33c84d07
CS fixes
2012-06-14 15:47:01 +02:00
Jordi Boggiano
1530322897
Fix test
2012-06-14 15:42:03 +02:00
pomaxa
6a86fa4444
skip test instead of throw an error
2012-06-13 17:53:55 +03:00
pomaxa
9d8b108d3c
remove notation
2012-06-13 17:51:36 +03:00
Andrew Tch
72ee0aee96
mock implemenation, kind of
2012-06-13 17:10:09 +03:00
pomaxa
a9df0f461a
test fix
2012-06-13 12:38:09 +03:00
pomaxa
a56543682d
AMQP
2012-06-13 12:07:17 +03:00
Frederic G. MARAND
07aac12c72
Implement the 8 RFC3164 severity levels instead of just 6.
...
- constants defined for the 2 missing levels: NOTICE and EMERGENCY.
- add<level>() and <level>() convenience methods added.
- TestHandler and tests updated to account for the two extra levels.
- surjective mappings from the RFC3164 to only 6 levels changes to bijective.
- README updated accordingly.
2012-05-28 20:29:27 +02:00
Marc Abramowitz
4830b92725
Curly braces on same line for try/catch, as suggested by @stof in
...
https://github.com/Seldaek/monolog/pull/76#r743295
2012-04-27 07:06:28 -07:00
Marc Abramowitz
fd4d2556f6
Refactor GelfMessageFormatterTest and GelfHandlerTest so that they don't
...
fatal error when mlehner/gelf-php is not installed.
Fixes GH-78.
2012-04-26 15:37:21 -07:00
Marc Abramowitz
44d2441782
Pull MockRavenClient (which depends on Raven_Client) out of
...
tests/Monolog/Handler/RavenHandlerTest.php into a separate file so that
the test can pass when raven-php is installed and can be skipped when
raven-php is not installed. Addresses @Stof's comment in
https://github.com/Seldaek/monolog/pull/76#r740465
2012-04-26 15:03:43 -07:00
Marc Abramowitz
6b4b2a6ac0
Change key from 'context' to 'exception' in
...
RavenHandlerTest::testException
2012-04-26 14:30:37 -07:00
Marc Abramowitz
acbf574b98
Add RavenHandler and RavenFormatter for working with Raven which is the
...
protocol used by Sentry (http://github.com/dcramer/sentry ). Uses
raven-php (https://github.com/getsentry/raven-php ).
2012-04-25 08:31:01 -07:00
Jordi Boggiano
a6c24f983a
Use non-locale aware version of the float formatter, fixes #65
2012-04-22 18:33:26 +02:00
Jordi Boggiano
5c97153efe
Add array of records to MailHandler::send to allow analysis of individual records before sending email
2012-04-22 18:25:25 +02:00
Jordi Boggiano
56d246cca3
Make gelf formatter extend the normalizer one
2012-04-22 17:38:31 +02:00
Jordi Boggiano
985e682079
Merge remote-tracking branch 'mlehner/gelf'
2012-04-22 16:55:08 +02:00
Jordi Boggiano
b42da84c12
Minor CS fixes, updated changelog
2012-04-22 16:36:31 +02:00
Jordi Boggiano
5f40e7e942
Merge remote-tracking branch 'pablolb/master'
2012-04-22 16:29:23 +02:00
Jordi Boggiano
908d7734e7
Added test, updated changelog
2012-04-22 12:46:58 +02:00
Jordi Boggiano
1359f72b08
Fix up mongo db handler and add tests
2012-04-22 12:38:37 +02:00
Jordi Boggiano
0bd4d93006
Split off line formatter in normalizer + line formatters
2012-04-22 12:36:23 +02:00