Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Enabling and Disabling ADO Logging


Sun ONE Active Server Pages uses an ADO (ActiveX Data Objects) control to provide database connectivity. Logging for ADO is enabled from the Sun ONE ASP Administration Console by providing an absolute path name for the log file. When you do this, Sun ONE ASP creates the log file in the directory specified, and begins logging to it. To disable logging, simply delete the path name of the log file.

ADO logging will not be functional if Inherit user security is set to yes. For information about this setting, see Setting the Security Mode.

Caution icon Caution ADO logging should be used for diagnostic purposes only, and should not be enabled when running Sun ONE ASP on a production server.

To enable or disable ADO logging

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

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

  3. Click the ADO Settings tab.

  4. The ActiveX Data Object Connection Setting page displays.

  5. 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.

  6. To disable ADO logging, leave the Logging file box empty, or delete existing text.

  7. Click Save, and then click Server Management in the left navigation pane.

  8. Restart the ASP Server by clicking Restart.

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

See also:

Configuring ADO Connections



ContentsPreviousNextIndex