Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Enabling ASP Errors Logging


For Sun ONE Active Server Pages to log ASP errors, you must first enable logging. For information about viewing the log file, see Viewing the ASP Errors Log.

To enable ASP errors logging

  1. Open the Administration Console (see Accessing the Administration Console).

  2. On the ASP Server tab of the Server Management page, click Settings.

  3. The Server Settings page displays.

  4. In the ASP errors logging file box, enter the name of the log file to which you want ASP errors logged. You cannot give the log file the same name as a file that already exists in the directory. If the ASP errors logging file box is empty (the default), no logging is performed.

  5. Click Save to save your changes, or Cancel to revert to the settings that were last saved.

  6. The Server Management page displays.

  7. To put your changes into effect, restart the ASP Server by clicking Restart on the Server Management page.

  8. Note icon Note Restarting the ASP Server resets all Session and Application variables.

A log file with the name you specified is created in the following directory:

/[C-ASP_INSTALL_DIR]/logs

where [C-ASP_INSTALL_DIR] is the path name of the Sun ONE ASP installation directory (/opt/casp by default).

See also:

Monitoring ASP Server Performance

Optimizing ASP Server Performance

Viewing Information about the ASP Server



ContentsPreviousNextIndex