Tags: kofaysi/nautilus-hash-check
Tags
Enhance debug file naming for uniqueness and manageability - Updated the debug file path to include the script name (`/tmp/{SCRIPT_NAME}_debug.log`). - Ensured the log file is uniquely tied to the script while being easily accessible and predictable. - Simplified debugging file management for scenarios with multiple scripts.
Add user-controlled debug message logging - Introduced a global variable (`ENABLE_DEBUG_LOGGING`) to enable or disable debug message logging. - Updated the `log_debug_message` function to respect the `ENABLE_DEBUG_LOGGING` flag. - ENABLE_DEBUG_LOGGING = False by default