Skip to content

Commit 5f56ed5

Browse files
committed
Update changelog
1 parent a3f7c4a commit 5f56ed5

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.mdown

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### 1.19.0 (2016-04-12)
2+
3+
* Break: StreamHandler will not close streams automatically that it does not own. If you pass in a stream (not a path/url), then it will not close it for you. You can retrieve those using getStream() if needed
4+
* Added DeduplicationHandler to remove duplicate records from notifications across multiple requests, useful for email or other notifications on errors
5+
* Added ability to use `%message%` and other LineFormatter replacements in the subject line of emails sent with NativeMailHandler and SwiftMailerHandler
6+
* Fixed HipChatHandler handling of long messages
7+
18
### 1.18.2 (2016-04-02)
29

310
* Fixed ElasticaFormatter to use more precise dates

doc/02-handlers-formatters-processors.md

+10
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@
8585
when it happens you will have the full information, including debug and info
8686
records. This provides you with all the information you need, but only when
8787
you need it.
88+
- _DeduplicationHandler_: Useful if you are sending notifications or emails
89+
when critical errors occur. It takes a logger as parameter and will
90+
accumulate log records of all levels until the end of the request (or
91+
`flush()` is called). At that point it delivers all records to the handler
92+
it wraps, but only if the records are unique over a given time period
93+
(60seconds by default). If the records are duplicates they are simply
94+
discarded. The main use of this is in case of critical failure like if your
95+
database is unreachable for example all your requests will fail and that
96+
can result in a lot of notifications being sent. Adding this handler reduces
97+
the amount of notifications to a manageable level.
8898
- _WhatFailureGroupHandler_: This handler extends the _GroupHandler_ ignoring
8999
exceptions raised by each child handler. This allows you to ignore issues
90100
where a remote tcp connection may have died but you do not want your entire

0 commit comments

Comments
 (0)