Back to Articles
Each server is initially configured to send all logs with a severity of TRACE (TRACE, DEBUG, INFO, WARN, and ERROR) or higher to VPS #2 (for storage and display through Kibana). To reduce amount of disk space needed on VPS #2 and reducing traffic flow to save CPU processing on VPS #2, you can configure each server to send logs based on severity. This allows you to only send ERROR logs to VPS #2 for each server or any combination of logs from one server or another. The types of log filtering available for each server is as follows:
  • ERROR – Send only ERROR logs
  • WARN – Send WARN and ERROR logs
  • INFO – Send INFO, WARN, and ERROR logs
  • DEBUG – Send DEBUG, INFO, WARN, and ERROR logs
  • TRACE – Send all logs regardless of severity level
  • Off – Do not send any logs

CommScope recommends to reducing server logging when there are 10 or more VUE application servers configured on a VUE system. You may see issues even when 10 or less VUE application servers depending on the number of logs being generated. If resources (disk space and CPU processing) are running low on VPS #2, you should reduce logging from each server.

Note that this setting only applies to the logs being sent to VPS #2. You can set the logs for each type of service or pipe running on VPS #2 and running on each VUE application server to set the severity of logs generated on the server. This enabled you to restrict the actual type of logs generated on a VUE server verses limiting the types of logs forwarded to VPS #2. Default log level for all services running on the VUE is INFO.

Change severity level of logs sent to VPS #2

To change the log levels on a server:

  1. Log into VPS#1 as fldengr.
  2. Change the directory to playbooks.
    $ cd /home/docker/cloud-service-scripts/playbooks/
  3. Run log playbook selecting highest severity level desired for server.
    $ ./config-central-debug-mode.sh <on/off> <trace/debug/info/warning/error>
    off
    Stops sending all logs to VPS #2
    on trace
    Default level; all logs sent to VPS #2
    on debug
    All logs debug or greater sent to VPS #2
    on info
    All logs info or greater sent to VPS #2
    on warn
    All logs warn or greater sent to VPS #2
    on error
    Only error logs sent to VPS #2
  4. Enter management IP address of server when prompted (* will update all servers).