Access-log, Aging – Brocade Mobility RFS Controller CLI Reference Guide (Supporting software release 5.5.0.0 and later) User Manual
Page 389
![background image](/manuals/361696/389/background.png)
Brocade Mobility RFS Controller CLI Reference Guide
373
53-1003098-01
4
access-log
smart-cache-policy-mode commands
Enables or disables client request logging. When enabled, this feature logs client access details to
the /var/log/smart-cache.log. This feature is enabled by default.
Supported in the following platforms:
•
Service Platforms — Brocade Mobility RFS9510
Syntax:
access-log {rotate <0-10> rotate-type [duration <1-100> day|size <1-100> MB]}
Parameters
access-log {rotate <0-10> rotate-type [duration <1-100> day|size <1-100> MB]}
Example
nx4500-5CFA2B(config-smart-cache-policy-test)#access-log rotate 10
rotate-type duration 10 day
nx4500-5CFA2B(config-smart-cache-policy-test)#
nx4500-5CFA2B(config-smart-cache-policy-test)#show context
smart-cache-policy test
access-log rotate 10 rotate-type duration 10 day
nx4500-5CFA2B(config-smart-cache-policy-test)#
Related Commands:
aging
smart-cache-policy-mode commands
Configures the aging rule (refresh pattern) for specific content types
The aging parameters configured are the maximum and minimum age, freshness factor, and the
URL regular expressions. These parameters enable the content caching engine to determine if a
given request can be processed and the content loaded from the cache or not.
Supported in the following platforms:
•
Service Platforms — Brocade Mobility RFS9510
Syntax:
rotate <0-10>
Optional. Enables log file rotation, and configures the number of rotation. This is the number of log files
retained (stored locally) out of the total generated.
•
<0-10> – Optional. Specify the number of rotations from 0 - 10. The default is 10 rotations on every 1
MB.
rotate-type
[duration <1-100> day|
size <1-100> MB]
Optional. Configures access log file rotation conditions, such as duration and size
•
duration <1-100> – Rotates log files by time. Specify the time from 1 - 100 days. The default is 1 day.
•
size <1-100> – Rotates log files by file size. Specify the size from 1 - 100 MB.
Disables client request logging