Media Flow Controller CLI Commands : tracelog

tracelog
Configure trace log options. See “Service Log Options” on page 93 for task details including information on log rotation. See “Trace Log (tracelog)” on page 129 for usage information.
tracelog
copy <SCP>
filename <name>
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <integer>}
syslog replicate {disable | enable}
Notes:
copy—Auto upload (when the set filesize is reached) the tracelog 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 trace log is stored. Default is tracelog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
on-the-hour—Set hourly log rotation. Default is no (disabled).
rotate—Media Flow Controller allows trace log rotation based on file size or time.
filesize-MB—Set rotation based on file size. Media Flow Controller creates "trace.log.1," "trace.log.2" and so on all the way to "trace.log.10," 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 trace log is rotated.
syslog replicate—Specify whether (enable) or not trace log messages are seen as part of SYSLOG; default is disable (trace 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.