log-error must the full file path not just folder