Add config files for logging.
Enhance debugging message.