Improved logging config.