Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

file (Services PGCP)

Syntax

file <filename> <files files> <match regular-expression> <size maximum-file-size> <world-readable | no-world-readable>;

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.5.

Description

Configure the trace file for tracing BGF components.

Options

filename filename—Name of the file to which the tracing messages are written.

Default: bsg_trace

files number-of-files—Number of trace files. The tracing mechanism can rotate between any given number of files, allowing for trace message inspection without interfering with the normal work of the application.

Default: 3

match regular expression—Regular expression to match with incoming messages. Messages that do not match the regular expression are not written to the trace file.

size maximum-trace-file-size—Size parameter (in bytes) to trigger rotation of files. The trace mechanism rotates files based on the current file size. When the size is bigger than the maximum configured size, the files are rotated.

Default: 1048576

world-readable | no-world-readable—Allow all users to use the log file or disallow all users from using the log file.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

 

Related Documentation

 

Published: 2012-11-27

Supported Platforms

 

Related Documentation

 

Published: 2012-11-27