diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py index 602c6cb1bda7d310a0a44d30e68cc60b78bdb756..526829ad840181a4129890cc0a163500f4e31528 100644 --- a/climax/main/preprocess.py +++ b/climax/main/preprocess.py @@ -168,8 +168,8 @@ if __name__ == '__main__': filename = group[0].parent.joinpath(filename) # log simulation name, time span and files - LOGGER.info('Aggregating simulation: {}, Time span: {}' - .format(sim, '-'.join([y_min, y_max]))) + LogConfig.init_log('Aggregating simulation: {}, Time span: {}' + .format(sim, '-'.join([y_min, y_max]))) LOGGER.info(('\n ' + (len(__name__) + 1) * ' ').join( ['{}'.format(file) for file in group]))