update log file to debug