Debug Service Portal URL redirects

You can debug the URL redirects for logging in to Service Portal and redirecting to the first page.

To view debug output from SPEntryPage and see the session variables it redirects based on:
  1. Make sure the system property has the value: new SPEntryPage().getFirstPageURL().
  2. From the SPEntryPage script include, set this.logVariables = true.
  3. In a separate browser, log in.
  4. From the system navigator, view the log output by navigating to System Logs > System Log > All.