There is no RMAN default log location in PFILE to set, so you must add the log location by yourself, if you are not specify one, you will miss the error messages and other important alerts.
Two ways to reserve the rman log for you to trace:
- On Utility-level: Using the RMAN keyword “LOG” to indicate RMAN to log the operation, but the output will not show on you console.
- On OS-level: Piping out the process to a file and show it in the console as well.
$ rman LOG /oracle/backup/rman.log
$ rman | tee -a /oracle/backup/rman.log
A better practice is to log RMAN execution results in separate files based on dates, then you can easily to trace the problem by dates. The following is a sample script that you can use:
rman target / @$EXEFILE LOG $LOGFILE