Enable record log file