Product Home Page | Developer Site | Version | |
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
Open the Administration Console (see Accessing the Administration Console).
On the ASP Server tab of the Server Management page, click Settings.
The Server Settings page displays.
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.
Click Save to save your changes, or Cancel to revert to the settings that were last saved.
The Server Management page displays.
To put your changes into effect, restart the ASP Server by clicking Restart on the Server Management page.
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
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.