This bug was fixed in the package python2.7 - 2.7.3-0ubuntu3.1
---
python2.7 (2.7.3-0ubuntu3.1) precise-proposed; urgency=low
* Cherry pick af46a001d5ec to remove Python syslog BOM insertion code that
was causing corrupt log messages in syslog. LP: #1029640
-- Scott Kitterman
Ha! Ok I see how you guys do this now. Thanks for bearing with me as I
learn the ropes. And thank you for your support getting this patch
pushed to precise.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bug
Precise was where we needed verification. The requirements for the
development release (Quantal) are different. Thanks again. Assuming no
regressions are identified, this should be released to all Ubuntu 12.04
users in precise-updates in about a week.
--
You received this bug notification beca
"Confirmed" means the bug is confirmed to exist. The way to confirm
that a fix doesn't what it's supposed to is to change the bug tag from
verification-needed to verification-done (I've done this for you).
Thank you for testing.
** Changed in: python2.7 (Ubuntu Precise)
Status: Confirmed
I have set precise to "Confirmed". I do not have a Quantal system to
confirm the Quantal change.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad characters in Python logger output w
I have installed the proposed python and it tested successfully. No bad
characters seen in logs.
** Changed in: python2.7 (Ubuntu Precise)
Status: Fix Committed => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https
** Branch linked: lp:ubuntu/precise-proposed/python2.7
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad characters in Python logger output when using rsyslog
To manage notifications
Hello Aimon, or anyone else affected,
Accepted python2.7 into precise-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/python2.7/2.7.3-0ubuntu3.1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
http
** Branch linked: lp:ubuntu/python2.7
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad characters in Python logger output when using rsyslog
To manage notifications about this bug g
** Description changed:
+ [IMPACT]
+
+ Any UTF-8 messages that are sent to syslog by a Python application are
+ corrupted.
+
+ [TESTCASE]
+
+ Run the code in comment #9. You can either do this by running the
+ python interpreter and pasting the code into the python shell or
+ creating a file w
This bug was fixed in the package python2.7 - 2.7.3-0ubuntu4
---
python2.7 (2.7.3-0ubuntu4) quantal; urgency=low
* Cherry pick af46a001d5ec to remove Python syslog BOM insertion code that
was causing corrupt log messages in syslog. LP: #1029640
-- Scott KittermanFri, 27 Ju
Yes. It needs to be applied to both releases as they've currently got
the same python2.7 version:
python2.7 | 2.7.3-0ubuntu3 | precise | source, amd64, armel, armhf,
i386, powerpc
python2.7 | 2.7.3-0ubuntu3 | quantal | source, amd64, armel, armhf,
i386, powerpc
Looking into it no
You sure? This commit diff accurately applies the fix (removal of the
BOM addition): http://hg.python.org/cpython/rev/af46a001d5ec
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad ch
Turns out it's not fixed in quantal either.
** Changed in: python2.7 (Ubuntu Quantal)
Status: Fix Released => Triaged
** Changed in: python2.7 (Ubuntu Quantal)
Milestone: None => ubuntu-12.10
** Changed in: python2.7 (Ubuntu Quantal)
Milestone: ubuntu-12.10 => ubuntu-12.10-beta-1
btw output from above code:
# /usr/bin/python log_stuff.py
Jul 27 13:52:04 mc root: #277root: AUDIT: TEST LOGER FROM PYTHON
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad char
ok this code will reproduce. Note that key was to convert to utf8 before
sending to syslog.
# vim: tabstop=4 shiftwidth=4 softtabstop=4
import logging
from logging.handlers import SysLogHandler
# our new audit level
# NOTE(jkoelker) Since we synthesized an audit level, make the logging
#
Yeah I can do that.. WIll write up a code snippet and attach with
details.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad characters in Python logger output when using rsyslog
To
Here's the requirements:
https://wiki.ubuntu.com/StableReleaseUpdates#SRU_Bug_Template
It doesn't have to be very formal, just provide the needed information.
I did quickly try one python application I use that uses syslog and I
did not immediately see this behavior. If you can whip up a couple o
Any python app using the std python logger to syslog will exhibit the
behavior. Openstack is one example. it is apparent when tailing the
syslog. I am willing to write up a test case however I have no idea what
format you guys use.. can you point me to previous ones?
--
You received this bug noti
If someone can write up a reliable test case so the fix can be verified,
I'll get the patch backfitted to 12.04's python2.7.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad characte
Fixed in quantal:
# Message is a string. Convert to bytes as required by RFC 5424
if type(msg) is unicode:
msg = msg.encode('utf-8')
if codecs:
msg = codecs.BOM_UTF8 + msg
msg = prio + msg
** Changed in: python2.7 (Ubuntu)
Sta
This indeed is a known Python bug (http://bugs.python.org/msg158447).
Ubuntu Python is out of date.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029640
Title:
Bad characters in Python logger outpu
All Related Tickets:
https://bugs.launchpad.net/openstack-common/+bug/1029116
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1029640
http://bugzilla.adiscon.com/show_bug.cgi?id=346
http://bugs.python.org/issue15462
** Bug watch added: Python Roundup #15462
http://bugs.python.org/issue
Filed bug with Rsyslog also:
http://bugzilla.adiscon.com/show_bug.cgi?id=346
** Bug watch added: bugzilla.adiscon.com/ #346
http://bugzilla.adiscon.com/show_bug.cgi?id=346
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bug
** Description changed:
Ubuntu 12.0.4 LTS 64bit
- python2.7-minimal 2.7.3-0ubuntu3
+ python2.7-minimal 2.7.3-0ubuntu3
rsyslog5.8.6-1ubuntu8
Python converts all syslog messages to UTF8 before sending to syslog. It
also p
25 matches
Mail list logo