Administration Guide
Overview Guide
Installation Guide
Previous Next Contents



Logging Messages
You can log messages generated by the services within the Netscape Application Server and generated by the applications running on the server. These messages can be logged to one or more of the following destinations:

For more information about these logging destinations, see "About the Logging Destination and Log Buffer."

If you are going to log Netscape Application Server event messages to a database, you must create that database table before you enable database logging. For more information about creating the database log table, see "When the Logging Destination is a Database."

To log messages

  1. Open the Logging tool of the Netscape Application Server Administrator.
  2. Click the Server Log tab.
  3. Enter eventlog in the Data Source field.
  4. Enter the information you use to connect to the database in the Database field. For example, this would be the Oracle SID for an Oracle database.
  5. Enter eventlog in the Table Name field.
  6. Enter the user name and passwords with which you connect to the database in the User Name and Password fields.
  7. Select Enable Event Log.
  8. This enables event logging to any specified destinations. If deselected, no Netscape Application Server event logging occurs.

    By default, logging occurs to the process consoles and the operating system log.

  9. Under Message Type, select one of the following message types:
  10. To log to a database, select Log to a Database and specify the datasource parameters necessary to connect to the database log table.
  11. To log to the operating system log, select Log to Operating System Log.
  12. To log to an ASCII text file, select Log to an ASCII file and specify the file name.
  13. The file is created automatically after you apply your changes.

  14. To determine when the contents of the buffer are written to the destination, adjust the Maximum Entries and Write Interval settings.
  15. For more information, see "About the Logging Destination and Log Buffer."

  16. Click Apply Settings to save your changes to the Netscape Application Server.
  17. At this time, logging to the selected destinations begins. If you chose to log to an ASCII file, that file is created now.

 

© Copyright 1998 Netscape Communications Corporation