Fixes log file creation alg