Logs directory fix