13.5 Configuring Log-Level using Java Management Console

  1. Launch the Java Management Console. See, Java Management Console.

  2. Click the DNS Name Server object in the lower pane of the DNS Service window to display detailed information in the right pane.

    A DNS Name Server object's detailed information window displays seven tab pages.

  3. Navigate to Advanced page to specify the required log-level.

    Advanced page displays the default value that the server assumes if the log-level attribute is not configured. The DNS log level can range between 0 to 10.

    • 0 - Indicates default log value where critical, errors, warnings, and information logs are enabled.

    • 3 - Indicates security logs are enabled.

    • 10 - Indicates maximum log level.

NOTE:Currently, this feature is only available in OES 23.4. Prior to OES 23.4, log-level modification might result in novell-named.service crash. See, Section 18.2.1, Java Console Log-Level Modification Might Cause DNS Server to Crash.

Scenarios where log-level setting specified using -d, rndc, or Java Console takes precedence over the existing log-level settings

13.5.1 Setting Log-Level using Command Line

  • If the administrator has already set the log-level using -d option in novell-named.service or DNS load script, this takes the precedence of the log-level setting and any modification performed on log-level using Java Console is not considered.

  • If the administrator has already set the log-level using Java Console and the administrator changes the log-level using -d (/opt/novell/named/bin/novell-named -u named -D -d <>)option then the command line takes the precedence of the log-level setting used for that particular instance.

13.5.2 Setting Log-Level using rndc Command

  • If the administrator configures the log-level using Java Console and later modifies it using rndc command. In this scenario, the log-level set using rndc command takes precedence of the log-level setting used for that particular instance.

13.5.3 Setting Log-Level using Java Console

  • If the DNS server is running with a specific log-level (for instance, 3) and the administrator changes the log-level (for instance, 5). During dynamic reconfiguration or novell-named-restart, the newly modified log-level (5) takes precedence.

  • If the administrator changes the log-level in the Java Console to a higher value when the log- level is set to zero using rndc command or -d option. During dynamic reconfiguration or novell-named-restart, the higher log-level set from the Java Console takes precedence.