log-level

The log-level command sets the system wide log-level or the log-level for a specific task or process. In addition, you can set the log type for a specific log level on a per-task basis.

Syntax

log-level system <log-level> log-level <task-name | “all”> <log-level>

Arguments

<log-level> Select the log level either by name or by number
  • Values • emergency (1)
    • critical (2)
    • major (3)
    • minor (4)
    • warning (5)
    • notice (6)
    • info (7)
    • trace (8)
    • debug (9)
    • detail<task-name> Enter the task name for the log level being set<all> Change the log level for all system tasks

      Superuser

You cannot set the following tasks with the log-level command.
  • authqueue
  • fragHandler
  • heap
  • healthCheckd
  • SSHD
  • tLFMiBd
To set the log level for the preceding tasks, you must go to system-config and use system-log-level and process-log-level.

Note:

The log setting changes made by the log-level command do not persist after a reboot. Upon reboot, you must change the log settings in the system configuration for them to persist. When entering multiple log types in the log-type-list argument, use a space for separation.

Example

ORACLE# log-level system warning