Audit logs and logging configuration

Audit log locations

The solution records audit events in the native operating system logging framework.

Platform Location

Windows

Windows Event Log

Linux and VMware

Syslog

NOTE
Use operating system tools to export and collect audit logs.

Logging configuration parameters

Parameter

Description

logging.dir

Specifies the directory for application log files

logging.file

Specifies the application log file name

logging.artifact_dir

Specifies the directory for operation artifacts

IMPORTANT
If logging.artifact_dir is not defined, the application stores operation artifacts in the directory specified by logging.dir.

Logging configuration examples

To change the location of the log files and operation artifacts, update the logging settings in config/user.yaml and restart the service.

Windows example:

logging:
dir: "D:\SUM\logs"
file: "SUM.log"
artifact_dir: "D:\SUM\artifacts"

Linux example:

logging:
dir: "/var/tmp/sum/logs"
file: "sum.log"
artifact_dir: "/var/tmp/sum/artifacts"

Viewing service logs

Platform

Method

Windows

Use Services to check status and Event Viewer for logs

Linux

sudo journalctl -u sum--since "24 hours ago"