<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">I'm currently trying to configure logging for a Play app I'm working on so that the main part of the log messages are on one line.</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I reconfigured my file appender by removing the new lines except for at the end.</div><div style="font-family:arial,sans-serif;font-size:13px"> <pattern>%date - [%level] - from %logger in %thread - %message - %exception%n</pattern><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">However when an exception occurs the message part appears two lines below the start of the log</div>
<div style="font-family:arial,sans-serif;font-size:13px">---<br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>[error] application -</div><div><br></div><div>! @6fl7pl0b3 - Internal server error, for (GET) [/owner/4675002] -></div>
<div> - play.api.Application$$anon$1: Execution exception[[RuntimeException: Testing exception]]</div><div><span style="white-space:pre-wrap"> </span>at play.api.Application$class.handleError(Application.scala:289)</div><div>
...</div><div>---</div><div><br></div><div>Does anyone know why this might happen and how I can change this?</div><div><br></div><div>Thx</div></div></div>