How to Enable DEBUG Log Level for Syslog Events on the NetScaler

How to Enable DEBUG Log Level for Syslog Events on the NetScaler

book

Article ID: CTX222945

calendar_today

Updated On:

Description

This article describes how to enable DEBUG log level for syslog events on NetScaler.

Enabling DEBUG level for syslog events will allow you to capture detailed information that is not recorded by default in ns.log file.

Note: The DEBUG level should be disabled upon finishing the troubleshooting* 

Instructions

The debugging level can be enabled using either NetScaler CLI or GUI.

Enable DEBUG Log Level for Syslog Events from NetScaler CLI

Run the following command to enable debugging:
set audit syslogParams -logLevel ALL

Run the following command to disable debugging:
set audit syslogParams -logLevel EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFORMATIONAL

Enable DEBUG Log Level for Syslog Events from NetScaler GUI

  1. Navigate to Configuration > System > Auditing > Settings > Change Auditing Syslog Settings.

    System \ Auditing

  2. Check DEBUG under Log Levels.

    Enable DEBUG

  3. After you finish troubleshooting, uncheck DEBUG from Log Levels.

    Disable DEBUG

     


*It is Not Supported to continuously run an ADC with DEBUG logs enabled; it causes a tremendous load on the Management CPU as well as the disk writing logs to storage. This can result in system crashes during high traffic loads. You must disable Debug mode during normal operation.

Issue/Introduction

This article describes how to enable DEBUG log level for syslog events on NetScaler.