![Juniper MEDIA FLOW CONTROLLER 2.0.4 - Administrator'S Manual Download Page 290](http://html1.mh-extra.com/html/juniper/media-flow-controller-2-0-4/media-flow-controller-2-0-4_administrators-manual_2032854290.webp)
Media Flow Controller CLI Commands
Media Flow Controller Administrator’s Guide
290
accesslog
Copyright © 2010, Juniper Networks, Inc.
accesslog
Use these commands to set access log options. The accesslog records all command
executions. See
“Configuring Media Flow Controller Service Logs (CLI)” on page 226
for task
details including information on log rotation. See
“Service Log (accesslog)” on page 212
for
usage information, status codes and sub-codes.
accesslog
copy <SCP>
filename {access.log | <filename>}
format {<field1 field2 …> | clf | display | ncsa | ncsa-ext}
max-fileid <integer>
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <hours>}
syslog replicate {enable | disable}
Type accesslog to enter accesslog configuration mode; only accesslog commands are
available. Type exit to leave accesslog configuration mode. Notes:
•
copy
—Set auto-upload (when the set rotate filesize-MB criteria is reached) for access
log using SCP (secure channel protocol), to the server specified using hostname. If
username and password are provided, Media Flow Controller uses that for
authentication of the SCP session. Use no accesslog copy to disallow auto upload. See
“Terminology” on page 30
for the scp URL format and requirements.
•
filename
—Configure the name of the file where the access log is stored. Default is
accesslog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
•
format
—Specify a format for the access log; see
Table 28
, for format field options.
Default is %h %V %u %t %r %s %b "%{Referer}i" "{User-Agent}i" %y.
•
<field1 field2 ...>
—Choose available field options, described in
Table 28
.
•
clf
—Common Log Format: %h %V %u %t %r %s %b
•
display
—Either enable (default) or disable the display of the format in the log.
•
ncsa
—National Center for Supercomputing Applications, default format without the
%y field.
•
ncsa-ext
—Default format.
•
max-fileid
—Set the number of log files to retain. Default is 10.
•
on-the-hour
—Set hourly log rotation. Default is no (disabled).
•
rotate
—Media Flow Controller allows access log rotation based on file size or time. If
copy auto-upload has been configured, the log is uploaded to the specified copy URL; if
copy auto-upload has not been configured, the log is replaced with a new log.
•
filesize-MB
—Set rotation based on file size. Media Flow Controller creates
"access.log.1," "access.log.2" and so on all the way to "access.log.10," after which it
wraps around. By default, each file size is 100MB. We highly recommend not
increasing the size; huge file transfers take a lot of time, and if there is a system reset,
large volumes of data are at risk.
•
time-interval
—Set rotation based on time. Specify a time in hours after which the
access log is rotated.
•
syslog replicate
—Specify whether or not the access log messages are seen as part
of SYSLOG also. Default is no (disabled), access log is not seen as part of SYSLOG.
Summary of Contents for MEDIA FLOW CONTROLLER 2.0.4 -
Page 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Page 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Page 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Page 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Page 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Page 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...