Logging appliance caching activity can be useful for a number of reasons, such as billing for services rendered. Excelerator lets you specify how often a new log file will be started (rolled over), how long log files will be retained, and what the format of the log files will be. For more information, see Logging in Volera Excelerator 2.3 Administration Guide.
Whenever possible, we recommend you use the FTP Log Push feature to download and delete log files. See Using FTP Push to Automatically Download and Delete Log Files in Volera Excelerator 2.3 Administration Guide
If you need to manage your log files manually, you should establish a regular schedule and ensure that all those responsible for downloading and deleting log files know the following:
You will want to develop specific procedures for your situation. The following sections contain general ideas for accomplishing these tasks.
Before you can download or delete a log file, you must know its exact name.
Appliance log filenames can be listed in the browser-based management tool in Monitoring > Cache Logs. They can also be listed from the command line or through a Telnet session using the GET command.
The appliance automatically generates log filenames as follows:
NOTE: The dash is not included after the letters double (AA-ZZ).
This naming convention accommodates up to 702 log files per day. If the rollover options are set so that all the possible filenames are used in one day, the log file with the ZZ letter identifier is not closed until the start of the next day (unless the logging disk becomes full).
To list log files using FTP, you must know the path to the files. Use the following table to determine the paths to MMS log files.
Table .
| File | Location |
|---|---|
MMS log files in extended format |
LOG:ETC/PROXY/DATA/LOGS/SMC/EXTENDED/name The variable name is the name of the streaming service. |
You can most easily view log filenames in the browser-based management tool. To do so, click Monitoring > Cache Logs. Select a log format, then select a service.
The Mini FTP Server in version 1.3 and later supports the CWD command for changing to the target log directories. All appliance versions let you use the LS command in connection with full paths to list log files.
For example, the following command lists transparent and forward proxy log files in extended format:
ls log:etc/proxy/data/logs/smc/extended/
For a complete list of log file directory paths, see Getting Log Filenames .
You can see a list of log filenames from the command line, but you cannot download files from the command line.
The following table presents some command line/Telnet examples.
Table .
You can download the files in the browser-based management tool as you view them. After you click Download, the browser asks what you want to do with the file. Save it to your designated log file storage location.
You can use FTP and the GET command to retrieve log files from the storage location. To retrieve a file from storage, you must first obtain the log filename using one of the options explained in Getting Log Filenames .
After you have the log filename, you can transfer the file to your workstation from the storage location. For example, to download a forward proxy common format log file, start an FTP session with the appliance and enter:
get log:/etc/proxy/data/logs/forward/common/filename.log
The filename variable is the name of the log file you are downloading.
NOTE: You can also use the mget command, but be aware that this command also downloads active log files that are not complete.
NOTE: The appliance doesn't currently support the FTP server put command.
After the log files have been downloaded and saved to another location, delete the files using one of the following options:
The following information about field values in extended log files will help you interpret the content of the files:
The information in the following table is supplementary to the W3C Extended Log Format Specification found on the Extended Log File Format Web site. You might find it useful for interpreting the content of extended log field headers.
Table .