If ContentReporter collects log files directly from a NetCache, you must synchronize NetCache logging rotation and ContentReporter log file collection to ensure that the NetCache does not rotate out some log files faster than the ContentReporter collects them. If a NetCache rotates out some log files before collection, data is lost. Depending on how fast your NetCache appliance log files grow in size, you might need to modify the NetCache logging rotation and maximum log file size, and increase how often the ContentReporter server collects the log files.
Note
If you do not want to synchronize NetCache logging and ContentReporter log file collection, configure your NetCache to push its log files to either a directory or an FTP server and configure ContentReporter to collect the log files from the directory or FTP server.
When you select log rotation, the NetCache appliance saves the active log and up to 10 previous log files on disk for each type of log that is enabled. When the log reaches maximum size, or when the preset interval or time is reached, the NetCache appliance rotates out the oldest log. The previously active log then becomes the most recent old log. Logs remain on the appliance until they are rotated out. You can set the maximum log file size from 1 to 1999 megabytes.
Note
The NetCache appliance always rotates or pushes a log file when it reaches the maximum size, regardless of the settings specified in the "How to Switch Log Files" option.
The following example illustrates the relationship between the NetCache appliance logging and the ContentReporter server collection of logs.
To synchronize NetCache logging rotation and the ContentReporter server collection of log files, complete the following steps.
Note
The following instructions explain how to enable both Web Access logging and Streaming Access logging. If you collect only one type of log file, skip the instructions for enabling the other type.
| 1 | In the NetCache appliance Manager window, click the Data tab |
| 2 | To examine Web Access log file rotation settings, click Log Files > Web Access. Result:The Web Access log file names, time-stamps, and sizes appear in the first panel. |
| 3 |
Examine the Web Access log files to determine how quickly the log files are growing in size and rotating. |
| 4 | Record this logging information. You will use this information when you schedule log file collection. |
| 5 | To examine Streaming Access log files, click Streaming Access. Result:The Streaming Access log file names, time-stamps, and sizes appear in the first panel. |
| 6 | Examine the Streaming Access log files to determine how quickly the log files are growing in size and rotating. |
| 7 | Record this logging information. You use this information when you schedule log file collection. |
| 8 | To review or modify the maximum log file size and logging rotation, click the Setup tab. |
| 9 |
Result:The maximum log file size and logging information displays. |
| 10 | Examine, and if necessary, modify the NetCache logging rotation as needed. |
| 11 | Record this logging information. You will use this logging information to properly schedule the log file collection in ContentReporter. To learn more about scheduling log file collection, see Step three: Scheduling log file collection. |
Copyright © 1994-2001, Network Appliance, Inc. All rights
reserved.
Part No. 210-00066
File: cr3saap7.htm
Last updated: 12/10/01 11:49:10