[AMO] Something is over-escaping the app logs

RESOLVED FIXED

Status

mozilla.org Graveyard
Server Operations
RESOLVED FIXED
8 years ago
3 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

Details

(Reporter)

Description

8 years ago
Something is escaping single quotes in our log files.  If I use a local syslogd it works fine so it's something past our logging.  Example from the aggregated logs:

May  7 09:31:42 pm-app-amo11.mozilla.org: [10.2.83.104] z.amo:ERROR Expecting \'VERIFIED\' from PayPal, got \'INVALID\'.  Failing. :/data/virtualenvs/zamboni/lib/python2.6/site-packages/commonware/log.py:53

Updated

8 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 1

8 years ago
Yeah, the local versions of the logs look fine to me, must be syslog-ng doing something.
(Assignee)

Comment 2

8 years ago
Added template_escape(no) to syslog_ng. That should fix it.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.