From 6382ec11cce7753655b45164f5692d4f1b1b62ae Mon Sep 17 00:00:00 2001 From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu> Date: Fri, 21 May 2021 15:22:03 +0200 Subject: [PATCH] Improved logging. --- climax/main/preprocess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py index 602c6cb..526829a 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])) -- GitLab