Media Flow Controller CLI Commands : errorlog

errorlog
Configure error log options. See “Error Log (errorlog)” on page 121 for usage information. See “Service Log Options” on page 93 for task details including information on log rotation.
Note! This log is mainly used for debugging purposes by Juniper Networks Support.
errorlog
copy <SCP>
filename <name>
level {1 | 2 | 3 | 4 | 5-7}
module <module>
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <hour(s)>}
syslog replicate {disable | enable}
Notes:
copy—Auto upload (when the set rotate criteria is reached) the errorlog 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 error log is stored. Default is errorlog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
level—Set the errorlog severity level. Each higher number level setting includes more messages. See “errorlog level Options," below, for details.
Note! Severe messages are always sent regardless of chosen module.
mod <module>—Set errorlog module; default is 0x00FFFFFFFFFFFFFF (Any). See “errorlog module Options," below, for details.
on-the-hour—Set hourly log rotation. Default is no (disabled).
rotate—Media Flow Controller allows error log rotation based on file size or time.
filesize-MB—Set rotation based on file size. Media Flow Controller creates "error.log.1," "error.log.2" and so on up to "error.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 hours after which the error log is rotated.
syslog replicate—Specify whether (enable) or not error log messages are seen as part of SYSLOG; default is no (disabled), error 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.