Deprecate WritableLogger - used for eventlet logging

WritableLogger was used for example in Nova as a bridge to the
eventlet's logging mechanism. Eventlet has been enhanced in
0.17.2 to use python loggers directly, so we don't need this
anymore.

Closes-Bug: #1440773
Change-Id: I505a6e4946db88db4a1e57ed37f43bd203c7ab1f
This commit is contained in:
Davanum Srinivas 2015-05-04 11:05:34 -04:00
parent b457dae5b6
commit dbae3bf351
1 changed files with 5 additions and 0 deletions

View File

@ -12,7 +12,12 @@
import logging
from oslo_log import versionutils
@versionutils.deprecated(
versionutils.deprecated.LIBERTY,
remove_in=+1)
class WritableLogger(object):
"""A thin wrapper that responds to `write` and logs."""