Logging configuration file. Bug fixes