E Configuring Installation and Configuration Log Files

This appendix describes the log files that are created by the installer and Configuration Wizard.

Log files contain information that can help you troubleshoot problems with your installation or configuration.

This appendix contains the following sections:

E.1 Understanding Installation Log Files

By default, the installer writes logs files to the Central_Inventory_Location/log (on UNIX operating systems) or Central_Inventory_Location\logs (on Windows operating systems) directory. On UNIX operating systems, if you do not know the location of your Oracle central inventory, you can find it in the oraInst.loc file in the following directories (default locations):

  • Linux: /etc/oraInst.loc

  • HP-UX, IBM AIX, MAC OS X, and Solaris: /var/opt/oracle/oraInst.loc

On Windows operating systems, the location for the central inventory directory is %SystemDrive%\Program Files\Oracle\Inventory\logs.

The following install log files are written to the log directory:

  • installdate-time-stamp.log

    This is the main log file.

  • installProfiledate-time-stamp.log

    This log file contains the overall statistics like time taken to complete the installation, as well as configuration, memory and CPU details.

  • oraInstalldate-time-stamp.out

    This log file contains additional log output.

  • oraInstalldate-time-stamp.err

    This log file contains additional log output.

To Change the Logging Level for More or Less Verbose Logging:

Use the -logLevel option from the command line when you start the installer. For example:

java -jar fmw_infra_121200.jar -logLevel finer

To Log Time Usage Information:

Use the -printtime option from the command line when you start the installer. The -printtime option creates the time<timestamp>.log file, which contains information about the time taken to perform various elements of the requested Oracle Universal Installer operation (such as -install). For example:

java -jar fmw_infra_121200.jar -printtime

Below is a brief description of the timeTakendate-time-stamp.log and timedate-time-stamp.log files:

  • timeTakendate-time-stamp.log

    This file contains information for the amount of time taken to move between screens (applicable for GUI installations only).

  • timedate-time-stamp.log

    This file contains time information for the copy session.

E.2 Understanding Configuration Log Files

To create a log file of your configuration session, start the Configuration Wizard with the -log option, as shown below:

On UNIX operating systems:

./config.sh -log=log_filename -log_priority=log_level

On Windows operating systems:

config.cmd -log=log_filename -log_priority=log_level

See Table E-1 for more details about the -log and -log_priority options.

Table E-1 Configuration Wizard Log File Options

Option Description

-log

Specify the location of your log file.

If you specify an absolute path with your log_filename then your log file will be created there. If you only specify a file name with no path, then the log files are created in the logs directory in the Oracle home.

Other values that can be specified with -log are:

  • stdout

    This writes the error message to the standard output stream.

  • stderr

    This writes the error messages to the standard error stream.

  • disable

    This disables default logging so that no log files are generated in ORACLE_HOME/logs (on UNIX operating systems) or ORACLE_HOME\logs (on Windows operating systems).

-log_priority

Specify the level of detail you want included in your logs.

The acceptable values are listed below, from most detailed to least detailed:

  • debug

  • info

  • warning

  • error

  • fatal