Skip to content

Fortified IDDocs

Extended logging

Extend logging for Password Reset components when additional troubleshooting detail is needed.

All changes should be made in log4j2.xml, located in <installation path>\pwdreset\config, where the installation path depends on the operating system and installation setup.

Enable additional logging only for the component being investigated, restrict access to the diagnostic logs, and restore the normal level after troubleshooting. Do not dump password-reset requests, sessions, or state: they can contain new_password, assertions, and access tokens. Do not collect passwords or credential material in diagnostic logs.

Specific logging for Password Reset components

Section titled “Specific logging for Password Reset components”

Locate the AsyncLoggers section in log4j2.xml and add:

<AsyncLogger name="fortified.pwdreset" level="DEBUG" />

Use TRACE instead of DEBUG if you need even more detailed logging.

Generic logging for Fortified ID components

Section titled “Generic logging for Fortified ID components”

Broader Fortified ID namespaces should normally remain at INFO:

<AsyncLogger name="fortifiedid" level="INFO" />
<AsyncLogger name="fortified" level="INFO" />
<AsyncLogger name="foss" level="INFO" />

Avoid enabling blanket DEBUG or TRACE for these namespaces. If more detail is needed, select the narrowest relevant component logger and review what it records.

Examples of when extended logging can be useful:

  • troubleshooting failed password reset flows
  • understanding how the PasswordReset module behaves during a request
  • collecting additional detail when support or development needs more context

Additional log settings and information are available here: Log settings