alphagov/ci-puppet — pull request #102 by dcarley (2014-01-17 12:27:00+00:00)
Title: [#59323898] Remove formatting for CDN logs

Record CDN access logs without any additional syslog formatting/info. The
`:2:$:` formatter prints everything after the first character, in order to
remove syslog's default preceding space.

We've opted not to use Sam's snippet for prefixing the log line with a
formatted `%timestamp%`/`%timereported%` because discrepencies between the
syslog time and `%t` generated by the CDN make us nervous that it isn't
accurate enough.

Instead we'll put up with their format and quote it, so that it's easier to
pass. We're omitting User-Agent and Referer for privary reasons. Resulting
in a final formatting config of:
```
req.http.host %h %l "%t" %u "%r" %>s %b
```

---

/cc @jamiecobbett @jennyd