At the end of my ETL process, I add the log file produced by pan to a zip file. The zip is rotated on a monthly basis, so the log produced each days are appended to the already created zip file from the first day of the month
In the Advanced tab of the Create Zip File dialog, i've selected
Compression: Default Compression
If zip file exists: Append file to the existing
After Zipping: Delete files
When I execute the job, I have the following error:
2014/02/12 10:35:42 - Evaluate files metrics - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : could not rename the file [/path/to/job/log/FILES_2014_02.zip] to [/tmp/FILES_2014_02.zip4968273483478093606.tmp]
I don't know why it tries to rename and move the zip file to /tmp . I tried to rename it manually and I got no error. So it's not a permission issue. The end result is the zip file in /path/to/job/log/FILES_2014_02.zip only have the log of the current day. All the previous log files already in the zip disappeared.
Because I did choose to delete the files after zipping, I don't have log anymore.. !