Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring JBoss Logs in Junos Space

From Junos Space Network Management Platform Release 24.1R1 onwards, you can configure log levels for JBoss in Junos Space from the Administration workspace in the Junos Space Platform UI. Junos Space Platform enables you to configure log levels for the JBoss logs by using the Log Configuration page of the Space Troubleshooting task group. When you configure a particular log level, log messages for the selected severity and all higher severities are recorded.

You must be assigned the System Administrator role to configure logs from the Log Configuration page.

To configure the JBoss logs from the Junos Space Platform UI:

  1. On the Junos Space Platform UI, select Administration > Space Troubleshooting > Log Configuration.

    The Log Configuration page is displayed.

  2. Perform the following actions to configure the JBoss logs:
    • Click the JBoss Logs tab.

      The log handlers configured in JBoss are listed on the page. The corresponding log filenames and log levels are also displayed in a tabular format. The Log Level column displays the existing log level for each log.

    For more information about log files in Junos Space Platform, see Junos Space Network Management Platform Log Files Overview.

  3. Click the Log Level field of the log file for which you want to configure the log level.
  4. Click the down arrow to select the log level from the list.

    When you select a particular log level, log messages for the selected severity and all higher severities are recorded. For example, if you select DEBUG as the log level, log messages for severity DEBUG, INFO, WARN, and FATAL are recorded in the log file for which you configured the log level. If you select ALL, all log messages are recorded in the log file. See Table 1 for more information about the log levels that you can select.

  5. Click Update to save the change.

    Repeat Step 2 through Step 5 to modify log levels for other JBoss logs listed on the page.

  6. (Optional) Select or clear the check box in the Enable/Disable column to enable or disable logging for the corresponding log file. By default, logging for all JBoss log files is enabled, unless it is disabled from the Junos Space CLI, and the default log level is WARN.

    If you select the check box, logging is enabled and the log level is set at the WARN level.

  7. Click Save to save all changes after you finish specifying the log levels.

An audit log entry is added when you modify the log level of any log file.

Table 1 lists the various log levels that can be configured for JBoss logs.

Table 1: Log Levels and their Descriptions

Log Level

Description

OFF

Logging is turned off.

FATAL

Log messages that indicate a critical service failure are recorded.

ERROR

Log messages that indicate a disruption in a request or the ability to service a request and all higher-severity log messages are recorded.

WARN

Log messages that indicate a noncritical service error and all higher-severity log messages are recorded.

INFO

Log messages that indicate service life-cycle events and provide other related crucial information, and all higher-severity log messages are recorded.

DEBUG

Log messages that convey extra information regarding life-cycle events and all higher-severity log messages are recorded.

TRACE

Log messages that are directly associated with any activity that corresponds to requests and all higher-severity log messages are recorded.

ALL

Log messages of all severity levels are recorded.