Commit ffce29ef authored by Alexandre Levieux's avatar Alexandre Levieux

Migrate log cercache to datawork

parent 9d4ab76b
......@@ -31,7 +31,7 @@ if __name__ == "__main__":
year = str(datetime.now().year)
month = str(datetime.now().month).zfill(2)
day = str(datetime.now().day).zfill(2)
filesinerror = '/home/cercache/project/mpc-sentinel1/analysis/s1_data_analysis/L2_V2/wavetools_error/' + year + month + day + '_filesinerror_' + socket.gethostname() + '_' + str(os.getpid()) + '.log'
filesinerror = '/home/datawork-cersat-public/project/mpc-sentinel1/analysis/s1_data_analysis/L2_V2/wavetools_error/' + year + month + day + '_filesinerror_' + socket.gethostname() + '_' + str(os.getpid()) + '.log'
if not os.path.exists(os.path.split(filesinerror)[0]):
os.makedirs(os.path.split(filesinerror)[0])
root = logging.getLogger()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment