Changes for logging as runnable war