Log Files

This section provides general information about using the log files.

Access the error log file.

Access the access log file.

"Managing Servers with Netscape Console", Chapter 8

Logging Options

Log files can help you monitor the Administration Server's activity, and can also help you troubleshoot server problems. Server logs use the Common Logfile Format, a commonly supported format that provides a fixed amount of information about the server.

Access log. Displays information about requests to the server and the responses from the server. By default, the file is located at admin-serv/logs/access.

Error log. Displays errors the server has encountered since the log file was created. It also contains informational messages about the server, such as when the server was started and who tried unsuccessfully to log in to the server. By default, the file is located at admin-serv/logs/error.

To set a new path for Administration Server log files:

1. In the Navigation Tree of Netscape Console, select an Administration Server and open its console.

2. Double-click Logging Options.

3. In the Logging Options window, enter new paths as necessary:

Access Log - Log File. Enter a path to the directory where you want the administration server to store the access log file. You can enter an absolute path or a path relative to your server root directory. To deactivate access logging, leave this field blank.

Error Log - Log File. Enter the path to the directory where you want the Administration Server to store the error log file. To deactivate error logging, leave this field blank.

4.Click OK.


Viewing the Access Log

To view the access log:

1. In the Navigation Tree of Netscape Console, select an Administration Server and open its console.

2. Click Configuration.

3. In the configuration tree, click + to expand the Logs directory, then click the Accesses icon.


Figure 5.9


Viewing the Error Log

To view the error log:

1. In the Navigation Tree of Netscape Console, select an Administration Server and open its console.

2. Click Configuration.

3. In the configuration tree, click + to expand the Logs directory, then click the Errors icon.


Top of Page
Copyright © 1999 Sun-Netscape Alliance.
All Rights Reserved.