1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 01:56:18 +02:00
Commit Graph

1143 Commits

Author SHA1 Message Date
Jesper Skovgaard Nielsen
272328f248 Inline _write method 2013-10-31 11:04:32 +01:00
Jesper Skovgaard Nielsen
56e4610ab8 ['foo' => 'bar'] array notation is not PHP 5.3 compatible. 2013-10-31 10:59:51 +01:00
Jesper Skovgaard Nielsen
359480a45c Added documentation for SyslogUdpHandler 2013-10-31 09:49:30 +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
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
wiistriker
bbb0a5948f Update LineFormatter.php 2013-10-23 20:14:57 +11:00
wiistriker
a8bbda7310 Ignore json_encode errors 2013-10-23 19:50:05 +11:00
Dominik Liebler
c362f9a07a Flowdock handler 2013-10-18 09:46:19 +02: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
Przemek Sobstel
67f6a5a4f1 LogglyHandler: remove reundant tag assignment and PHP 5.4 specific syntax. 2013-10-02 15:24:47 +02:00
Przemek Sobstel
ea3854a0eb Add Loggly handler. 2013-10-02 14:15:33 +02: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