- 02 Mar 2025
- 1 Minute to read
- Print
- DarkLight
- PDF
How to enable SSO Logging for MyPrintCenter (Print Center)
- Updated on 02 Mar 2025
- 1 Minute to read
- Print
- DarkLight
- PDF
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