Chili!Soft ASP uses an ADO control to provide database connectivity. You enable logging for ADO from the Chili!Soft ASP Administration Console by providing an absolute path name for the log file. When you do this, Chili!Soft ASP creates the log file in the directory you specify and begins logging to it. To disable logging, you simply delete the path name of the log file.
Important Note
You should use ADO logging only for diagnostic purposes. It is not recommend that you leave logging enabled when running Chili!Soft ASP on a production server.
To enable ADO logging, use the following procedure.
To enable ADO logging
1. If necessary, open the Administration Console by using the following URL:
where [HOSTNAME] is the hostname of your Web server and [PORT] is the port on which the Administration Console is running (5100 by default).
2. On the ASP Server tab of the Server Management page (the first page to appear when you open the Administration Console), click Databases.
3. Click the ADO Settings tab.
The ActiveX Data Object Connection Setting tab displays.
4. In the Logging file box, type the absolute path name of the log file. This includes the path to the directory containing the file and the name of the log file. You cannot use the name of a file that already exists in the directory.
5. Click Save, and then click server management.
6. Restart the ASP Server by clicking Restart.
Note
Restarting the ASP Server resets all Session and Application variables.
To disable ADO logging, use the following procedure.
To disable ADO logging
1. If necessary, open the Administration Console by using the following URL:
where [HOSTNAME] is the hostname of your Web server and [PORT] is the port on which the Administration Console is running (5100 by default).
2. On the ASP Server tab of the Server Management page (the first page to appear when you open the Administration Console), click Databases.
The Databases page displays.
3. Click the ADO Settings tab.
The ActiveX Data Object Connection Setting tab displays.
4. Delete the text in the Logging file box.
5. Click Save, and then click server management.
6. Restart the ASP Server by clicking Restart.
Note
Restarting the ASP Server resets all Session and Application variables.
See also:
Configuring ActiveX Data Objects (ADO) Connections in this chapter
Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.