Basically, create a file logback.xml
with the following content
localhost
4560
170
true
Make you can pass in this configuration using a system property logback.configurationFile
, so you might want to do something like this:
final String LOGBACK = "logback.configurationFile";
if(System.getProperty(LOGBACK) == null)
System.setProperty(LOGBACK, "file:logback.xml");
That should be enough, once your application start's logging a window will open in Lilith and show you the logs.