consistent headless mode detection
try to load logging configuration from profile folder's logback.xml file alongside PMS.conf (can be configured in project.properties) then from logback.xml in application folder