Replace RFCSysLogHandler by a syslog() based one

Rather than using the Python provided logging module that reimplents the
whole syslog protocol and pointing it to /dev/log (which is not
portable), we use the system calls from the syslog module, which are
portable and default to the behaviour we actually want.

Closes-Bug: 1385295
Closes-Bug: 1391428

Change-Id: I39a36316bd8778831b1bd5e7c5e2e12ede062a37
This commit is contained in:
Julien Danjou
2014-11-24 18:35:36 +01:00
parent c123d5cc8b
commit 33f5c6f94d
4 changed files with 89 additions and 31 deletions

View File

@@ -11,3 +11,4 @@ oslo.context>=0.2.0 # Apache-2.0
oslo.i18n>=1.5.0 # Apache-2.0
oslo.utils>=1.4.0 # Apache-2.0
oslo.serialization>=1.4.0 # Apache-2.0
debtcollector>=0.3.0 # Apache-2.0