Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36526

Re: Why BOM in logging message?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!gordon
From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Why BOM in logging message?
Date Wed, 9 Jan 2013 23:19:14 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 19
Message-ID <kcktti$sbg$1@reader1.panix.com> (permalink)
References <kcksg2$bkp$1@panix2.panix.com>
NNTP-Posting-Host panix2.panix.com
X-Trace reader1.panix.com 1357773554 29040 166.84.1.2 (9 Jan 2013 23:19:14 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Wed, 9 Jan 2013 23:19:14 +0000 (UTC)
User-Agent nn/6.7.3
Xref csiph.com comp.lang.python:36526

Show key headers only | View raw


In <kcksg2$bkp$1@panix2.panix.com> roy@panix.com (Roy Smith) writes:

> What's weird is that two of the servers, and only those two, stick a
> BOM (Byte Order Mark) in front of the message they log.  It shows up
> in syslog as:

> 2013-01-09T00:00:00+00:00 web5.songza.com <U+FEFF>2013-01-0900:00:00,754 [18979]: [etc...]

I worked on an application that would insert a BOM in syslog messages if
the logged message contained unicode, but not if it was plain ascii.

Not sure if this relates to your issue, but it's similar enough that it
seemed worth mentioning.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why BOM in logging message? roy@panix.com (Roy Smith) - 2013-01-09 17:54 -0500
  Re: Why BOM in logging message? Chris Angelico <rosuav@gmail.com> - 2013-01-10 10:07 +1100
    Re: Why BOM in logging message? Roy Smith <roy@panix.com> - 2013-01-09 20:17 -0500
      Re: Why BOM in logging message? roy@panix.com (Roy Smith) - 2013-01-10 11:06 -0500
        Re: Why BOM in logging message? Chris Angelico <rosuav@gmail.com> - 2013-01-11 03:16 +1100
          Re: Why BOM in logging message? roy@panix.com (Roy Smith) - 2013-01-10 11:40 -0500
            Re: Why BOM in logging message? Chris Angelico <rosuav@gmail.com> - 2013-01-11 03:52 +1100
        Re: Why BOM in logging message? Terry Reedy <tjreedy@udel.edu> - 2013-01-10 18:45 -0500
  Re: Why BOM in logging message? John Gordon <gordon@panix.com> - 2013-01-09 23:19 +0000
    Re: Why BOM in logging message? Roy Smith <roy@panix.com> - 2013-01-09 20:17 -0500

csiph-web