How to enable SSO Logging for MyPrintCenter (Print Center)
  • 02 Mar 2025
  • 1 Minute to read
  • Dark
    Light
  • PDF

How to enable SSO Logging for MyPrintCenter (Print Center)

  • Dark
    Light
  • PDF

Article summary

Problem:

You would like to enable Single-Sign-On (SSO) logging for the Uniprint MyPrintCenter web site and are wondering how to accomplish that.

Solution:

Please follow the steps below.

1. Open the web.config file in this directory.

"C:\inetpub\wwwroot\PharosAPI"

2. Directly underneath the opening TAG for "<configuration>" place the below section.

<system.diagnostics>
 <switches>
  <add name="Microsoft.Owin" value="Verbose" />
 </switches>
 <trace autoflush="true" />
 <sources>
  <source name="Owin.Security.CAS.CasAuthenticationMiddleware">
   <listeners>
    <add name="file" type="System.Diagnostics.TextWriterTraceListener" initializeData="cas.log" />
   </listeners>
  </source>
  <source name="Microsoft.Owin">
   <listeners>
    <add name="file" type="System.Diagnostics.TextWriterTraceListener" initializeData="shib.log" />
   </listeners>
  </source>
 </sources>
</system.diagnostics>

3. Restart the PharosAPI Application Pool called "Pharos ASP.NET V4.0", or restart the Microsoft Windows Internet Information Services service. This can be done by opening an Administrative Command Prompt on the server and typing in the below command.

IISRESET

4. The log files will be located in the "C:\inetpub\wwwroot\PharosAPI" where the web.config fileis in step 1 above.

The two log files will be created below and are located in the folder path "C:\inetpub\wwwroot\PharosAPI"

cas.log
shib.log




Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.