generate logfiles with correct file extensions