Writing SNMP events to a log file?

We currently have number of devices setup for SNMP polling in LibreNMS succesfully. Does anyone know if there is a way to LibreNMS to write or output SNMP events it captures into a log file?

what do you mean by SNMP events?

Are You talking about SNMP Traps?
https://docs.librenms.org/Extensions/SNMP-Trap-Handler/