When troubleshooting or if you have a support query open, you may
be required to change the log level for your Oracle Virtual Compute Appliance. The
settings for this are contained in
/etc/ovca.conf
, and can be changed using the
/usr/sbin/ovca-config.py
script.
The following instructions must be followed for each of the two management nodes in your environment.
Changing the Oracle Virtual Compute Appliance Log Level for a Management Node
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.
Use the /usr/sbin/ovca-config.py
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:
# /usr/sbin/ovca-config.py -r
To change the log level:
# /usr/sbin/ovca-config.py --loglevel LEVEL
Where LEVEL
is one of the
following: DEBUG
, INFO
,
WARNING
, ERROR
,
CRITICAL
.
While it is possible to change the log path using this tool, it is not generally recommended.
The new log level setting only takes effect after a management node has been rebooted.