config log to security