MAAS has a robust logging capability, which presents several different views, including a number of node-specific log files and several syslogd-style text logs. Each of these logs provides different information, or at the very least, different views of the same information. MAAS gathers logging information about the various MAAS states and records both automated and user-driven actions.
Five questions you may have:
- What is the syslog logging path?
- How do I use a remote syslog server?
- What are commissioning logs?
- What are test logs?
- What are event logs?
- What are audit event logs?
The discussion of these logs and their contents can be very extensive, so each type of logging has its own documentation section, reachable from the left-hand menu – or from the list of questions above.
Syslog data is kept in
/var/snap/maas/common/log/rsyslog/<machine-name><yyyy-mm-dd>/messages. Every machine known to MAAS will have corresponding syslogs.
To add a remote syslog server, click the Settings tab and then click the Network services tab. Scroll down to the Syslog section, where you can add a syslog URL or IP:
Click the Save button to save your changes.