Update logfile and debug sections.