When application is started with parameter ie. -Dlogger.file=/logback.xml File is ignored and default one is parsed instead. After application start everything is ok.