Logs¶
The system maintains a comprehensive list of logs under /var/log:
The
platform/directory has logs pertaining the the general platform or to specific log types.apps.logcontains application and process control loggingaudit.loga log type available if enabled with log audit locallog on - contains audit log informationdatabase.logcontains database logs spawned by VOSS Automate transactionsdockerd.logcontains logs spawned by the Docker container management daemonbackup.logcontains all logging pertaining to backups - available after the first backupcluster.logcontains all control level management of the clustercluster_check.logcontains output of cluster check command. Run cluster check to have the latest cluster check information logged tocluster_check.log- see: Cluster Check.config.logcontains information relating to the platform-level configurationevent.loga log type available if enabled with log event locallog on - contains event log informationexecute.logcontains low-level information about command executionnotifications.logcontains information relating to SNMP notificationsreports.logcontains information relating to system reports. Refer to the Scheduling section on how reports can be created.security.logcontains information relating to user securitysecurity_install_GUI.logcontains information relating to user graphical interface securitysecurity_update.logcontains information relating to security updatesui.logcontains higher-level information relating to UI commands being executed.wsgi.logcontains information relating to API-level commands via the WSGI server
The
provision/directory contains logs relating to provisioning. Every module provision is logged to component log files.The
health/directory contains health logs. These are stored automatically every half hour, or whenever health is run, and are of the formathealth/summary_report-<date>-<time>.The
process/directory contains process logs instrumental in debugging particular processes. All of the output from each process is logged to an individual fileprocess/<application>.<process>.logThe
install/directory contains logs detailing the install process.The
mongodb/directory contains logs relating to the Database function.The
nginx/directory contains logs relating to the WebProxy function.The
voss-deviceapi/directory contains logs relating to the Application function. For example,voss-deviceapi/cnf_collector.logis the Change Notification Collector log.The
billing-data-extract/directory contains service logs relating to the Billing Data Extract module, if installed. For example,callback.log,extractor.log,notifier.log,scheduler.log.The
nbi-api/directory contains logs relating to the Billing Data Extract module API, if installed.The
voss-portal/directory contains nginx logs relating to the portal interface.
log list [<search_string>] is used to display a list of logs, optionally matching search_string.
For example:
platform@clusternode:~$ log list alternatives.log
selfservice/alternatives.log
voss-deviceapi/alternatives.log
nginx/alternatives.log
mongodb/alternatives.log
alternatives.log
The main log rotation scripts will rotate log files only when files exceed 100M or if the disk
containing /var/log/ is over 80% full. This is checked once per hour. The system will attempt to
keep 5 historic zipped files of each log. If the disk containing /var/log is over 90% full,
files will be purged to ensure that the system continues to function.
100M size logs:
mongodb/*.lognginx/*.logselfservice/*.logvoss-deviceapi/*.log
10M size logs:
other logs in
/var/log/and sub-directories not specified above
All rotated log files and log files exceeding 1GB can be purged manually with log purge.