1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-25 18:46:14 +02:00
Commit Graph

622 Commits

Author SHA1 Message Date
Elan Ruusamäe
a5c56fdf1e two more minor spelling fixes 2015-11-09 18:21:29 +02:00
Elan Ruusamäe
b72866e6dd info is uncountable 2015-11-09 18:17:39 +02:00
Elan Ruusamäe
745100db42 Update NativeMailerHandler.php
don't calculate parameters in a loop
2015-11-09 11:08:56 +02:00
Boris Momčilović
4764052a10 MongoDBHandler: write: call proper method if we've got instance of MongoDB\Collection 2015-11-03 20:47:58 +01:00
Boris Momčilović
435ddc2ec6 MongoDBHandler: support for MongoDB\Client 2015-11-03 20:34:57 +01:00
Jordi Boggiano
6b42e7d241 Merge pull request #668 from silvadanilo/avoid_infinite_loop
Avoid infinite loops when no data is written on a socket for a time
2015-10-28 15:18:16 +00:00
Danilo Silva
988d595351 set to 10 seconds the default timeout during writing data on a socket, to aovid possible issue and with a very low risk to break backward compatibility @Seldaek 2015-10-28 16:13:45 +01:00
Danilo Silva
65cc3083b6 exit prematurely when data has been written to avoid unnecessary time check @Seldaek 2015-10-28 16:12:09 +01:00
Adrian Föder
4a1429e573 [TASK] CGL fix
This replaces a double-quote occurrence with
a single-quote one to comply with the CGL
as well as fixing an escaping mistake.
2015-10-19 12:25:21 +02:00
Danilo Silva
5c129a7f7f Avoid infinite loops when no data is written on a socket for a time greater than writingTimeout settings 2015-10-19 12:02:32 +02:00
pomaxa
fc077b8172 * fix var passed to curl::execute
* phpdoc
* remove defining null for class props.
2015-09-30 01:08:08 +03:00
pomaxa
5b05c66429 php doc for throw exception 2015-09-30 00:53:37 +03:00
Jordi Boggiano
ec0b383ace Merge pull request #647 from rap2hpoutre/patch-1
Use `text` and `title` fields for SlackHandler
2015-09-21 10:25:59 +01:00
François-Xavier de Guillebon
f24867ad06 Fixed undeclared properties 2015-09-17 14:33:27 +02:00
raph
976259bb5b Use text and title fields for SlackHandler
According to slack documentation (https://api.slack.com/docs/attachments),  an attachment may have a title and a text. The log message and title should use these fields. One of the benefits of using these two properties instead of adding a field is that it's shortened (with a "show more" button) and expandable by slack. It adds a bit of hierarchy in the attachement. Message is the content. Extra and context are additional fields.
2015-09-17 09:52:52 +02:00
Aleksei Shmelev
aaa2854b10 SwiftMailerHandler bugfix.
Added generating unique id when building message and test.
2015-09-14 16:37:30 +03:00
Jordi Boggiano
5785a9ac4a Fix CS and php5.3 compat 2015-08-31 10:26:07 +01:00
Jordi Boggiano
18013a5e7d Fix rollbar triggering strict notices 2015-08-31 10:16:39 +01:00
Moshe Brevda
dce930e43d Fix syntax 2015-08-27 09:47:53 +03:00
Moshe Brevda
fd4687b089 Better variable handling 2015-08-27 09:44:55 +03:00
Moshe Brevda
2719cca77f Add payload, too 2015-08-23 02:03:17 +03:00
Moshe Brevda
a4033bf3d6 Pass context to RollBar 2015-08-23 00:06:48 +03:00
Tomasz Wójcik
762361fff9 RavenHandler supports extra parameters 2015-08-16 11:13:32 +02:00
Tomasz Wójcik
4551b8c63b RavenHandler handles custom checksums 2015-08-15 17:58:48 +02:00
Jordi Boggiano
57dc037895 Add IFTTTHandler to docs 2015-08-09 18:44:06 +01:00
Jordi Boggiano
cd3f9f1e50 CS fixes, refs #623 2015-08-09 17:52:11 +01:00
Jordi Boggiano
0fef7571db Merge remote-tracking branch 'nehalvpatel/master' 2015-08-09 17:50:40 +01:00
Jordi Boggiano
3dccef613e Make sure handlers can be closed multiple times 2015-08-09 17:29:31 +01:00
Nehal Patel
e3ed389fef Added the IFTTTHandler 2015-08-07 20:05:00 -05:00
Ahmet Soormally
7f0cc89685 Update Util.php
Fixes bug with error handler. Once `curl_close($ch)` is called, then `curl_errno($ch)` and `curl_error($ch)` makes no sense and will cause an error in the exception handler.
2015-07-29 11:56:27 +01:00
Jordi Boggiano
e4f45be5dc Fix CS 2015-07-20 19:31:46 +01:00
William Johnston
3fa5b2f36d Create directory on initial log write rather than class instantiation. 2015-07-14 13:19:53 -05:00
Jordi Boggiano
c5b08724f4 Merge pull request #605 from localheinz/fix/docblock
Fix: Type should be bool
2015-07-14 10:27:59 +01:00
Jordi Boggiano
0ea238bd45 Merge pull request #604 from localheinz/fix/undefined-class
Fix: Use FQCNs for exceptions in docblock, too
2015-07-14 10:27:47 +01:00
Jordi Boggiano
ca1376bd61 CS fixes 2015-07-14 10:26:05 +01:00
Jordi Boggiano
cf6fa57dd4 Merge pull request #602 from ninjapenguin/add-redis-apped-collection
Adds ability to cap log size in redis
2015-07-14 09:02:00 +01:00
Andreas Möller
462ffe495a Enhancement: Rename parameter 2015-07-13 22:10:37 -04:00
Andreas Möller
a88d24ef45 Fix: Type should be boolean 2015-07-13 22:10:11 -04:00
Andreas Möller
ebda097b23 Fix: Use FQCNs for exceptions in docblocks, too 2015-07-13 22:07:15 -04:00
Matt Wells
12711d133a Switch back to using rpush
Switches back to rpush to keep list order consistent with non capped
collections
2015-07-13 19:40:51 +01:00
Matt Wells
ae2b2d0de1 fixes reference for 5.3 in predis callback 2015-07-12 19:28:05 +01:00
Matt Wells
050694291e Adds ability to cap log size in redis
100% backward compatible, defaults to not capping collection size.

Additional constructor param of $capSize added which will ensure logs
list is treated as a FILO queue

Test coverage on new functionality
2015-07-12 17:26:16 +01:00
Jordi Boggiano
e92a8823c0 Migrate the curl retry functionality into a util class for re-use, refs #599 2015-07-12 14:40:07 +01:00
Jordi Boggiano
1edc7d9cc9 Merge remote-tracking branch 'psquickitjayant/master' 2015-07-12 14:12:27 +01:00
Jordi Boggiano
9e342cb750 Fix escaping in BrowserConsoleHandler, fixes #537 2015-07-12 12:38:40 +01:00
Jordi Boggiano
5946647547 Fix the build 2015-07-12 11:26:49 +01:00
Jordi Boggiano
d17cf064af Make sure flowdock handler is configured correctly, fixes #597 2015-07-12 11:21:03 +01:00
psquickitjayant
f17e5a6ec3 Fixed formatting issues 2015-07-08 02:35:47 +05:30
psquickitjayant
f258a2ed29 Added support for retry logic 2015-07-07 21:55:03 +05:30
Jordi Boggiano
6dd76b944d Merge pull request #584 from dominikzogg/fixmissingdirectory
stream handler creates a directory if its possible
2015-07-05 22:09:41 +01:00