Added support for logging to a file using CACKEY_DEBUG_LOGFILE environment variable