DataDog/dd-agent — pull request #307 by shawnsmith (2012-12-18 00:24:02+00:00)
Title: Allow source file and line in Cassandra system.log.

For logging Cassandra compaction events:

This pull request updates the Cassandra dogstream parser to support Cassandra's [default log4j pattern] (https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=blob;f=conf/log4j-server.properties;hb=HEAD) for `/var/log/cassandra/system.log`:
```
log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{ISO8601} %F (line %L) %m%n
```

The previous dogstream regular expression appears to work for `stdout` but does not expect the `%F (line %L)` piece configured for `system.log`.

To enable, add the following to /etc/dd-agent/datadog.conf:
```
dogstreams: /var/log/cassandra/system.log:dogstream.cassandra:parse_cassandra
```