Ericsson / ecaudit

Ericsson Audit plug-in for Apache Cassandra
Apache License 2.0
43 stars 36 forks source link

Add support for single line operation in logs #181

Closed emolsson closed 3 years ago

emolsson commented 3 years ago

In 3.0+ we can replace the regex with "\R" instead of "\r\n|\r|\n".

emolsson commented 3 years ago

This can be achieved through a simple log configuration instead:

<pattern>%replace(%msg){'\r\n|\r|\n', '\\n'}%n</pattern>

So I'm closing the pull request.