1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 08:36:33 +02:00
Commit Graph

384 Commits

Author SHA1 Message Date
Tarjei Huse
b78d997638 Add logging of exception line and file path to gelf message 2013-10-27 08:29:08 +01:00
Kamisama
780d1d838b Add timezone to Dates 2013-10-23 16:42:04 -04:00
pkraeutli
685a91ba53 CS fix 2013-10-16 10:50:57 +02:00
pkraeutli
f1af2c484a HipChatHandler: combine batch records and send as one 2013-10-16 10:27:55 +02:00
Jordi Boggiano
8e5a671eef Merge pull request #248 from birkirb/master
eAccelerator doesn't like anonymous functions.
2013-10-11 09:18:40 -07:00
Birkir A. Barkarson
0f4401891e Fixes based on comments.
- Change function to private.
- Use private variable correctly.
2013-10-11 14:58:39 +09:00
Matthias Pigulla
540afb4621 Add unique_id to extra data only if present in the server environment 2013-10-10 10:04:29 +02:00
Birkir A. Barkarson
7b6e1f3c31 Merge branch '1.6.0_with_fix_for_eaccelerator'
Conflicts:
	src/Monolog/Handler/StreamHandler.php
2013-10-10 16:52:03 +09:00
Birkir A. Barkarson
dcbb7bce2f Changes from comments.
- Move private instance variable.
- Reset errorMessage.
- See https://github.com/Seldaek/monolog/pull/248
2013-10-10 16:49:24 +09:00
Birkir A. Barkarson
1f12588c00 eAccelerator doesn't like anonymous functions.
- Change to private instance method for error handler.
2013-10-10 14:01:37 +09:00
Birkir A. Barkarson
d25b4f982a eAccelerator doesn't like anonymous functions.
- Change to private instance method for error handler.
2013-10-10 14:00:41 +09:00
Matthias Pigulla
a2b77b2750 Add Apache mod_unique_id's identifier in WebProcessor
mod_unique_id can add a unique ID to every request and also add it to other logfiles. This makes it easy to correlate lines from different logs belonging to the same request. http://httpd.apache.org/docs/2.2/mod/mod_unique_id.html
2013-10-08 14:31:56 +02:00
Florian Pfitzer
8452da04da get record with highest log level in raven batch 2013-10-03 11:57:48 +02:00
Jordi Boggiano
4e85d26551 Merge pull request #239 from gabrielricci/master
$mongoCollection attribute visibility changed to protected
2013-10-02 07:49:08 -07:00
Brian Reavis
132735eb38 Use isHandling() in AbstractProcessingHandler to determine if log record is being handled. 2013-09-30 16:41:44 -07:00
Gabriel Ricci
d346c2e815 mongoCollection attribute visibility changed to protected so subclasses can access this attribute to query the database 2013-09-27 15:15:19 -03:00
Kris Wallsmith
0f5cdb285a added level to introspection processor 2013-09-26 12:52:23 -07:00
Peter Kokot
97043a326c logging levels phpdoc added 2013-09-21 23:43:29 +02:00
Jordi Boggiano
99aad2e059 Formatting fixes 2013-09-16 11:56:03 +02:00
Oliver Byford
45ae71f9a6 Merge Logstach V1 logic into the main Logstash formatter, add a parameter to the constructor to specify version
Defaults to version '0'.
2013-09-16 10:19:26 +01:00
Oliver Byford
c67470515d Fix a bug and a broken test.
Very embarrassing.
2013-09-04 13:40:43 +01:00
Oliver Byford
9f113ced3d Add a Logstash 'V1' Formatter
https://logstash.jira.com/browse/LOGSTASH-675
2013-09-04 11:59:46 +01:00
Jordi Boggiano
1518320bec Clarify/fix bubbling docs, fixes #229 2013-09-02 12:24:25 +02:00
Jordi Boggiano
933f7e26be Merge pull request #228 from odino/master
NewRelic handler: added the app name
2013-08-26 02:42:58 -07:00
odino
165778963e the appname can now be set from the handler's constructor 2013-08-26 13:20:13 +04:00
Jordi Boggiano
26f38b7aa7 Merge pull request #226 from skymeyer/buffer_handler_var_naming
Unclutter bufferSize vs bufferLimit variable name
2013-08-26 01:20:23 -07:00
odino
db3df1a1fa NewRelic handler: added the app name 2013-08-26 12:04:22 +04:00
skymeyer
5c7d1ea038 Unclutter bufferSize vs bufferLimit variable name 2013-08-23 18:30:53 -07:00
Jordi Boggiano
7a8844d4db Fix CS and add chainability to a few more setter methods, refs #221 2013-08-09 14:12:38 +02:00
Jordi Boggiano
07868bfc7e Merge remote-tracking branch 'BilgeXA/patch-1' 2013-08-09 14:10:00 +02:00
Julio Montoya
7717c4f1df Adding a new maxColumnWidth property see #217 2013-08-09 13:40:03 +02:00
BilgeXA
bbf7f20b2a Fluent interface for AbstractHandler::setFormatter() 2013-08-09 00:53:54 +01:00
ghanbari
1dd293406d can not send on Emergency Priority
https://github.com/Seldaek/monolog/issues/219
2013-08-08 20:13:40 +04:30
Henrique Moody
fd8b621a93 Refactored ErrorLogHandler to use constantes for types
- Create tests for ErrorLogHandler;
- Remove types 1, 2 and 3 in favor of specific handlers.
2013-08-01 14:05:08 -03:00
Jordi Boggiano
b33357d16b Use array_replace instead of manually looping through items 2013-07-30 13:01:58 +02:00
Jordi Boggiano
4277c5db4a CS fixes 2013-07-29 00:08:51 +02:00
Jordi Boggiano
e2e041eded Store user in a temporary property instead of hacking it into the record 2013-07-29 00:08:01 +02:00
Jordi Boggiano
e3e95f7dd6 Merge remote-tracking branch 'EmmanuelVella/patch-2' 2013-07-29 00:00:45 +02:00
Jordi Boggiano
52f478b289 Fix tests 2013-07-28 23:19:20 +02:00
Jordi Boggiano
df1f411378 CS fixes and set the default NewRelicHandler level to ERROR, refs #105 2013-07-28 23:11:20 +02:00
Jordi Boggiano
043aabcf2f Merge remote-tracking branch 'odino/master' 2013-07-28 23:01:16 +02:00
Jordi Boggiano
fc244c0084 Make the ErrorLogger work with any logger interface object 2013-07-28 22:30:26 +02:00
Jordi Boggiano
01e1ee7541 Add tests and fix issue with array_merge 2013-07-28 21:16:34 +02:00
Jordi Boggiano
cb47b537f3 Fix feedback 2013-07-28 20:35:20 +02:00
Jordi Boggiano
fdd45cc6bc Add error handler, fixes #199 2013-07-28 19:50:36 +02:00
Jordi Boggiano
a00f102cda Rename logFormatter to batchFormatter, refs #203 2013-07-28 19:01:33 +02:00
Jordi Boggiano
87cca51a32 Fix issue in handleBatch when all records are below the minimum level, refs #203 2013-07-28 18:54:16 +02:00
Jordi Boggiano
ec3f56a830 Merge remote-tracking branch 'fabpot/raven-improvements' 2013-07-28 18:48:43 +02:00
Emmanuel Vella
46cedf5e2f Allow multiple users for PushoverHandler
The construct accepts a string or an array of user ids to keep backward compatibility.

In case of an array, a message is built and send for each of the users.
2013-07-26 16:35:47 +02:00
odino
b422bb1c5b refactored the implementation of the NR handler and its test:
* the test now checks that if the extension is not loaded, an exception is thrown
* the test now mocks the new relic native functions
* moved some parameters as constants in the handler class
2013-07-24 10:14:35 +04:00