How do I disable the debug log when using the syslog server function?

Options
Zyxel_JoyLee
Zyxel_JoyLee Posts: 239
Friend Collector First Anniversary
image  Zyxel Employee

The syslog server is flooded with hundreds of null-value ‘init_user_aware’ messages per minute.

image.png

Repeated messages with the content msg="init_user_aware: entered: (null), (null), (null), (null)" and source and destination addresses of 0.0.0.0:0.
This kind of log is a debug log, and it is triggered whenever any daemon calls zyshd.

You can use the CLI command below to check the zysh level is set to no as default.

Router> show logging status syslog

image.png

You can use the CLI command below on each AP to disable debug-level logs.

Router> configure terminal
Router(config)# logging syslog 1 category zysh level normal
Router(config)# write
Router(config)# exit

*logging syslog 1 means server 1. If you have more than one syslog server, you can change the number to 2 for syslog server 2.

You can use the CLI command below to check the zysh level is set to normal.

Router> show logging status syslog

image.png