6.2 Setting the Oracle Virtual Compute Appliance Logging Parameters

When troubleshooting or if you have a support query open, you may be required to change the logging parameters for your Oracle Virtual Compute Appliance. The settings for this are contained in /etc/ovca.conf, and can be changed using the ovca-config script.

The following instructions must be followed for each of the two management nodes in your environment.

Changing the Oracle Virtual Compute Appliance Logging Parameters for a Management Node

  1. Gain command line access to the management node. Usually this is achieved using SSH and logging in as the root user with the global Oracle Virtual Compute Appliance password.

  2. Use the ovca-config script to add, view or modify your appliance log settings. This script safely reads and edits the /etc/ovca.conf file, to prevent the possibility of configuration file corruption.

    • To view the current values for the configurable settings in the configuration file run the script as follows:

      # ovca-config -r
    • To change the log level:

      # ovca-config --loglevel LEVEL

      Where LEVEL is one of the following: DEBUG, INFO, WARNING, ERROR, CRITICAL.

    • To change the log file size:

      # ovca-config --logfile-max-size SIZE

      Where SIZE, expressed in MB, is a number from 1 to 512.

    • To change the number of backup log files stored:

      # ovca-config --logfile-backup-count COUNT

      Where COUNT is a number of files ranging from 0 to 100.


    While it is possible to change the log path using this tool, it is not generally recommended.

  3. The new log level setting only takes effect after a management node has been rebooted.