forked from getlogbook/logbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
269 lines (194 loc) · 9.16 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
Logbook Changelog
=================
Here you can see the full list of changes between each Logbook release.
Version 1.1.0
-------------
- Added a handler for Riemann (thanks Šarūnas Navickas)
Version 1.0.1
-------------
- Fix PushOver handler cropping (thanks Sébastien Celles)
VERSION 1.0.0
-------------
Released on June 26th 2016
- Added support for timezones for log timestamp formatting (thanks Mattijs Ugen)
- Logbook has been a 0.x long enough to earn its 1.0.0 bump!
- Logbook now uses SemVer for its versioning scheme
- Various improvements to MailHandler and the usage of TLS/SMTP SSL (thanks Frazer McLean)
- Fix log colorizing on Windows (thanks Frazer McLean)
- Coverage reports using coveralls.io
- Dropped compatibility for Python 3.2. At this point we did not actually remove any code that supports it, but the continuous integration tests no longer check against it, and we will no longer fix compatibility issues with 3.2.
- Better coverage and tests on Windows (thanks Frazer McLean)
- Added enable() and disable() methods for loggers (thanks Frazer McLean)
- Many cleanups and overall project improvements (thanks Frazer McLean)
Version 0.12.0
--------------
Released on November 24th 2015
- Added logbook.utils.deprecated to automatically emit warnings when certain functions are called (Thanks Ayala Shachar)
- Added logbook.utils.suppressed_deprecations context to temporarily suppress deprecations (Thanks Ayala Shachar)
- Added logbook.utils.logged_if_slow to emit logs when certain operations exceed a time threshold (Thanks Ayala Shachar)
- Many PEP8 fixes and code cleanups (thanks Taranjeet Singh and Frazer McLean)
- TestHandler constructor now receives an optional `force_heavy_init=True`, forcing all records to heavy-initialize
Version 0.11.3
--------------
Released on November 5th 2015
- Windows-specific fixes and CI configuration (Thanks Frazer McLean)
- Several Unicode-specific fixes (Thanks Frazer McLean)
- Documentation cleanups
Version 0.11.2
--------------
Released on September 29th 2015
- Fix importing issue with SQLAlchemy ticketing handler
Version 0.11.0
--------------
Released on September 29th 2015
- Added TRACE log level for enabling logs below DEBUG
- Improved SQLAlchemy session management (thanks @fintan)
- Removed the ``bubble`` argument from NullHandler, preventing many future confusions
Version 0.10.1
--------------
Released on August 4th 2015
- Small bugfix supporting exc_info=False without breaking formatting
Version 0.10.0
--------------
Released on July 14th 2015
- Removed the global handler which was installed by default so far. The rationale is to ease adoption for 3rd party libraries who don't want output to go to stderr by default. The old behavior can still be restored by setting the LOGBOOK_INSTALL_DEFAULT_HANDLER environment variable
- Fix small Python 3 compatibility issues
Version 0.9.1
-------------
Released on May 4th 2015
- Minor fixes
Version 0.9.0
-------------
Released on February 12th 2015
- Added frame correction option, to properly mark log record origins (Thanks Roey Darwish)
- Fixed MailHandler infinite recursion bug (Thanks Tal Yalon)
Version 0.8.1
-------------
Released on November 30th 2014
- Fix support for gevent, along with various other fixes (Thanks Tal Yalon)
Version 0.8.0
-------------
Released on November 11th 2014. Codename "improve_some_more"
- Added Pushover handler (thanks @owo)
- Default logging format now includes seconds and microseconds (#110)
- Several fixes regarding possible deadlocks in log formatting (thanks Guy Rozendorn)
- Fixed packaging so that the speedups module now gets packaged by default (#122)
- ThreadedWrapperHandler now supports maxsize (#121) (thanks Ken Jung)
- Fixes in rotating handlers (thanks zhangliyong)
- Added Pushover handler (thanks Ossama W. Obeid)
- RedisHandler now supports lpush as an option (thanks Bruno Rocha)
Version 0.7.0
-------------
Released on May 12th 2014. Codename "not_just_yet"
- Restored Python 3.2 support (thanks @rnortman)
- NullHandlers now respect filters - allows to only drop/mute certain records (#73)
- redirect_logging now sets the legacy root logger's level to DEBUG by default. This can be changed by specifying `set_root_logger_level=False` (#96)
- Bugfixes
Version 0.6.0
-------------
Released on October 3rd 2013. Codename "why_not_production_ready"
- Added Redis handler (Thanks a lot @guillermo-carrasco for this PR)
- Fixed email encoding bug (Thanks Raphaël Vinot)
Version 0.5.0
-------------
Released on August 10th 2013.
- Drop 2.5, 3.2 support, code cleanup
- The exc_info argument now accepts `True`, like in the standard logging module
Version 0.4.2
-------------
Released on June 2nd 2013.
- Fixed Python 3.x compatibility, including speedups
- Dropped Python 2.4 support. Python 2.4 support caused a lot of hacks in the code and introduced duplication to the test code. In addition, it is impossible to cover 2.4-3.x with a single tox installation, which may introduce unwitting code breakage. Travis also does not support Python 2.4 so the chances of accidentally breaking this support were very high as it was...
Version 0.4.1
-------------
Released on December 12th. Codename "121212"
- Fixed several outstanding encoding problems, thanks to @dvarazzo.
- Merged in minor pull requests (see https://github.com/mitsuhiko/logbook/pulls?&state=closed)
Version 0.4
-----------
Released on October 24th. Codename "Phoenix"
- Added preliminary RabbitMQ and CouchDB support.
- Added :class:`logbook.notifiers.NotifoHandler`
- `channel` is now documented to be used for filtering purposes if
wanted. Previously this was an opaque string that was not intended
for filtering of any kind.
Version 0.3
-----------
Released on October 23rd. Codename "Informant"
- Added :class:`logbook.more.ColorizingStreamHandlerMixin` and
:class:`logbook.more.ColorizedStderrHandler`
- Deprecated :class:`logbook.RotatingFileHandlerBase` because the
interface was not flexible enough.
- Provided basic Python 3 compatibility. This did cause a few smaller
API changes that caused minimal changes on Python 2 as well. The
deprecation of the :class:`logbook.RotatingFileHandlerBase` was a
result of this.
- Added support for Python 2.4
- Added batch emitting support for handlers which now makes it possible
to use the :class:`logbook.more.FingersCrossedHandler` with the
:class:`logbook.MailHandler`.
- Moved the :class:`~logbook.FingersCrossedHandler` handler into the
base package. The old location stays importable for a few releases.
- Added :class:`logbook.GroupHandler` that buffers records until the
handler is popped.
- Added :class:`logbook.more.ExternalApplicationHandler` that executes
an external application for each log record emitted.
Version 0.2.1
-------------
Bugfix release, Released on September 22nd.
- Fixes Python 2.5 compatibility.
Version 0.2
-----------
Released on September 21st. Codename "Walls of Text"
- Implemented default with statement for handlers which is an
alias for `threadbound`.
- `applicationbound` and `threadbound` return the handler now.
- Implemented channel recording on the log records.
- The :class:`logbook.more.FingersCrossedHandler` now is set to
`ERROR` by default and has the ability to create new loggers
from a factory function.
- Implemented maximum buffer size for the
:class:`logbook.more.FingersCrossedHandler` as well as a lock
for thread safety.
- Added ability to filter for context.
- Moved bubbling flags and filters to the handler object.
- Moved context processors on their own stack.
- Removed the `iter_context_handlers` function.
- Renamed `NestedHandlerSetup` to :class:`~logbook.NestedSetup`
because it can now also configure processors.
- Added the :class:`logbook.Processor` class.
- There is no difference between logger attached handlers and
context specific handlers any more.
- Added a function to redirect warnings to logbook
(:func:`logbook.compat.redirected_warnings`).
- Fixed and improved :class:`logbook.LoggerGroup`.
- The :class:`logbook.TestHandler` now keeps the record open
for further inspection.
- The traceback is now removed from a log record when the record
is closed. The formatted traceback is a cached property
instead of a function.
- Added ticketing handlers that send logs directly into a database.
- Added MongoDB backend for ticketing handlers
- Added a :func:`logbook.base.dispatch_record` function to dispatch
records to handlers independently of a logger (uses the default
record dispatching logic).
- Renamed `logger_name` to `channel`.
- Added a multi processing log handler
(:class:`logbook.more.MultiProcessingHandler`).
- Added a twitter handler.
- Added a ZeroMQ handler.
- Added a Growl handler.
- Added a Libnotify handler.
- Added a monitoring file handler.
- Added a handler wrapper that moves the actual handling into a
background thread.
- The mail handler can now be configured to deliver each log record
not more than n times in m seconds.
- Added support for Python 2.5
- Added a :class:`logbook.queues.SubscriberGroup` to deal with multiple
subscribers.
- Added a :class:`logbook.compat.LoggingHandler` for redirecting logbook
log calls to the standard library's :mod:`logging` module.
Version 0.1
-----------
First public release.