FIX Logdir + FIX setLogType