Where is the Messaging Gateway log file?
By default, the Messaging Gateway log file is in the $ORACLE_HOME/mgw/log directory. The location can be overridden by the log_directory parameter of the mgw.ora file. A new log file is created each time the MGW agent starts. The format of the log file name is “oramgw-hostname-timestamp-processid.log”.