Add basic loggin framework with file and stdout logging.