To use a different directory for the logs, update the Log Directory Path property for the domain in the Administrator tool. You can also use the infasetup updateGatewaynode command to update the directory. For example, you can configure the log events directory as the
server/infa_shared/logs
directory in the new installation directory.