Relocate the entire logging process to prevent any issues