Debug writes to logfiles removed.