Added support for custom file loggers, loglevel settings