move application logging configuration into new module