{
//Remove any other targets
Log.reset();
//Up the logging level to debug, and create a logging target dynamically
ConsoleTarget myTarget = new ConsoleTarget();
myTarget.setLevel(LogEvent.DEBUG);
myTarget.setPrefix("[LCDS] ");
//myTarget.setIncludeDate(true);
myTarget.setIncludeTime(true);
myTarget.setIncludeLevel(true);
myTarget.setIncludeCategory(true);
//myTarget.addFilter("Startup.*");
myTarget.addFilter("Service.Data.*");
myTarget.addFilter("Message.*");
myTarget.addFilter("Endpoint.*");
//Add the new Debug target
Log.addTarget(myTarget);
return ((ConsoleTarget)Log.getTargets().get(0)).getLevel();