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
Yeah, the local versions of the logs look fine to me, must be syslog-ng doing something.
Added template_escape(no) to syslog_ng. That should fix it.