Add ifdef for printing log file