Configuring The Number And Size Of General Authentication Service Processes Log Files; Configuring Access To The Log File - Juniper ACX1000 Configuration Manual

Junos os; acx series universal access router
Hide thumbs Also See for ACX1000:
Table of Contents

Advertisement

ACX Series Universal Access Router Configuration Guide

Configuring the Number and Size of General Authentication Service Processes Log Files

Configuring Access to the Log File

352
To configure the filename for general authentication service tracing operations:
Specify the name of the file used for the trace output.
[edit system processes general-authentication-service traceoptions]
user@host# set file aap_logfile_1
You can optionally specify the number of compressed, archived trace log files to be from
2 through 1000. You can also configure the maximum file size to be from 10 KB through
1 gigabyte (GB); the default size is 128 kilobytes (KB).
The archived files are differentiated by a suffix in the format
archived file is
and the oldest archived file is
.0.gz
current trace log file reaches the maximum size, it is compressed and renamed, and any
existing archived files are renamed. This process repeats until the maximum number of
archived files is reached, at which point the oldest file is overwritten.
For example, you can set the maximum file size to 2 MB, and the maximum number of
files to 20. When the file that receives the output of the tracing operation,
reaches 2 MB,
is compressed and renamed
filename
filename
is created. When the new
and
is compressed and renamed
filename.1.gz
filename
until there are 20 trace files. Then the oldest file,
when the next oldest file,
filename.18.gz
To configure the number and size of trace files:
Specify the name, number, and size of the file used for the trace output, by including
the
files
and
size
options with the
[edit system processes general-authentication-service traceoptions]
user@host# set file aap_logfile_1 files 20 size 2097152
By default, log files can be accessed only by the user who configures the tracing operation.
You can allow all users to read the log file and you can explicitly set the default behavior
of the log file.
To specify that all users can read the log file:
Configure the log file to be world-readable.
[edit system processes general-authentication-service traceoptions]
user@host# set file aap_logfile_1 world-readable
To explicitly set the default behavior, in which the log file can only be read by the user
who configured tracing:
Configure the log file to be no-world-readable.
[edit system processes general-authentication-service traceoptions]
.number.gz
.(maximum number)-1.gz
filename.0.gz
filename
reaches 2 MB,
filename.0.gz
filename.0.gz
filename.19.gz
is compressed and renamed to
traceoptions
statement.
Copyright © 2017, Juniper Networks, Inc.
. The newest
. When the
,
filename
, and a new file called
is renamed
. This process repeats
, is simply overwritten
filename.19.gz
.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acx5048Acx5096Acx500Acx1100Acx2000Acx2100 ... Show all

Table of Contents