Enabling advanced logging – Novell eBook Reader User Manual

Page 50

Advertising
background image

46

Liberty Identity Provider for Novell eDirectory

Novell Confidential

07appc.fm last saved 4/14/03

Manual

Version: 3/17/03

103

You should check to make sure that no errors are reported. The Liberty NIDP and NWT Web-based
applications should load without errors or exceptions.

Enabling Advanced Logging

You can enable Advanced Logging on the IDP to log all requests in and out of the IDP server.

This logging feature is not enabled by default, since it can quickly fill up your hard disk with
information. You should only use it to troubleshoot problems that are specific to the IDP, and you
should disable this feature when you have completed your troubleshooting.

To enable the IDP logging, go to the web.xml file (found in your C:\Program
Files\Tomcat\nidp\WEB-INF) and uncomment out the following entries, as shown below:

<!--

========================================================================

Uncomment this entry and the entry below (LogLevel) for debugging

========================================================================-->

<context-param>

<param-name>LogFile</param-name>

<param-value>LibertyLog.xml</param-value>

</context-param>

<!--

========================================================================

Uncomment this entry and the entry above (LogFile) for debugging

The supported LogLevels are:

severe, warning, info, fine, finer, finest

========================================================================-->

<context-param>

<param-name>LogLevel</param-name>

<param-value>finest</param-value>

</context-param>

This will create the libertlog.xml file in the same directory. We recommend that you use a browser
to view and filter content from this file. If you point your browser to the IDP server (/nidp/
viewlog), you will get the following screen, which displays filter options and log file entries.

Advertising