saves error logs to solve session issue