Writing of logfiles during preprocessing.