Fix "no logs directory" error