Media Flow Controller CLI Commands : streamlog

streamlog
Configure the Media Flow Controller RTP/RTSP streaming events log. See “Service Log Options” on page 93 for task details including information on log rotation. See “Stream Log (streamlog)” on page 126 for usage information.
streamlog
copy <SCP>
filename <filename>
format <field1 field2 …>
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <integer>}
syslog replicate {disable | enable}
Notes:
copy—Auto upload (when the set rotate criteria is reached) the stream 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. The no variant disallows auto upload. See the “Command Arguments Key” on page 161 for the scp URL format); you must have an SCP server installed in order to SCP files to your machine.
filename—Configure the name of the file where the streaming log is stored. Default is streamlog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
format—Specify a format for the stream log. Use no to reset to default: "%h %c %t %x “%r” %s %I %O. See Table 30, next, for field option details.
<field1 field2 ...>—Choose available field options, described in Table 30, next.
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.
on-the-hour—Set hourly log rotation. Default is no (disabled).
rotate—Media Flow Controller allows streaming log rotation based on file size or time.
filesize-MB—Set rotation based on file size. Media Flow Controller creates ten streamlogs, numbered sequentially, after which it wraps around. By default, each file size is 100MB. Juniper Networks highly recommends 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 minutes after which the streamlog is rotated. Default is 0 hours disabled.
syslog replicate—Specify whether (enable) or not streamlog messages are seen as part of SYSLOG; default is disable (streaming log is not seen as part of SYSLOG).

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.