Search code examples
fusionauth

How to enable System Event Logging


We are attempting to troubleshoot a problem and think that events logging in FusionAuth could be useful. However no events are being captured on our FusionAuth 1.6.1 installation. Have we missed a configuration step to enable the logging?


Solution

  • In version 1.6.1, the event logging feature is used to capture only a certain number of errors and debug statements. Here are the things that are written to the event log currently:

    • Email errors (like a bad template variable or SMTP connection failures)
    • Lambda errors (if a Lambda fails at runtime)
    • Lambda info messages (written inside the Lambda)
    • Lambda debugging (written inside the Lambda)
    • SAML handling errors (both IdP and SP errors)
    • SAML debugging messages

    I believe those are the only messages we write out currently. If your situation is different than those, the errors won't be written out to the event log yet. If you can provide details of your situation, we can probably add the errors to the event log in an upcoming release. Feel free to open a Github Issue for this.