accidentally smashed the module-wide $log_file in system_call.
rejigger the output during debugging.