Typesafe console logback.xml not encoding path on Windows

145 views
Skip to first unread message

Steve McDuff

unread,
Feb 3, 2014, 10:47:59 AM2/3/14
to typesafe...@googlegroups.com
When starting an application with the typesafe console, I noticed that no logs were produced by the Typesafe console process.

When running the process in a standalone console, I noticed an error message indicating that logback was unable to create the log file.

To fix it, I modified :
\hello-akka\target\atmos\conf\console\logback.xml

So that the logDir would use slash instead of backslash:
  <property scope="local" name="logDir" value="D:/play/workspace/activator/hello-akka/target/atmos/log"/>
instead of 
  <property scope="local" name="logDir" value="D:\play\workspace\activator\hello-akka\target\atmos\log"/>

I notice that this file gets reset every time the application is restarted from the typesafe activator ui which makes it tedious to apply the fix.

Even after the fix the console still won't start. I'll investigate some more.


Reply all
Reply to author
Forward
0 new messages