System Logs Overview

This topic describes what are system logs, which level's logs are recorded, and introduces the storage and auto cleanup of system logs.

What are system logs

System logs are log files that contain information about system activities, which helps you troubleshoot and debug the system. The daily-generated system logs are displayed on System Logs, you can view and download logs on PBX web portal.

Log levels

Yeastar P-Series Software Edition provides multiple log levels, each of them records different information. The supported log levels are as follows:

  • Information: Record basic information.
  • Notice: Record notice information.
  • Warning: Record warning information.
  • Error: Record error information.
  • DTMF: Record DTMF information.
  • Time Log: Record time stamp of system logs.
  • Debug: Record analytic information about CDR (such as CDR data cleansing), as well as debug logs for the following services:
    • SIP
    • RTP
    • OpenAPI Event Notification Message
  • CDR Log: CDR information.

Storage of system logs

By default, system logs are saved in local storage, you can change the storage location in System > Storage > Storage Locations > System Logs. To guarantee centralized logging and long-term storage, you can also configure the PBX to forward system logs to a third-party syslog server (either local or remote) via Syslog protocol over UDP, TCP, or TLS.

For more information, see Forward System Logs to a Third-party Syslog Server.

Auto cleanup of system logs

By default, the system automatically deletes the oldest system logs every 7 days, or when logs reach 10MB. You can change the maximum file size or days that logs can be retained.

For more information, see Auto Cleanup Settings.