Add the logging support