NetScaler-13.1-NetScaler stops generating syslog messages in ns.log

book

Article ID: CTX695822

calendar_today

Updated On:

Description

You may notice that NetScaler stops generating syslog in ns.log after we change the syslog server IP from 127.0.0.1 to some other IP under global syslog parameter.

We can verify the current server IP under syslog paramertes with the following command.

> show audit syslogParams
        Server IP: 127.0.0.1    Port: 514
        Loglevel : EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFORMATIONAL
        Date Format: MMDDYYYY

Cause

When the syslog server IP is set to 127.0.0.1, the NetScaler sends syslog messages to itself and stores them in ns.log.

If the syslog server IP is changed from 127.0.0.1 to another IP, NetScaler will stop writing logs to ns.log and will instead send the syslog messages to the specified remote IP address.

Resolution

We can use the following command to restore the syslog parameters to their default values. This will cause the NetScaler to generate logs in ns.log.

set audit syslogParams -serverIP 127.0.0.1 -logLevel EMERGENCY ALERT CRITICAL ERROR WARNING NOTICE INFORMATIONAL
save config

Issue/Introduction

This article describes an issue where the NetScaler stops generating syslog messages in ns.log after the syslog server IP is changed in the global syslog parameters.