added perm setting to log setup