p4 logrotate
Synopsis
Rotate one or more structured log files.
Syntax
p4 [g-opts
] logrotate
[-l logname
]
Description
The p4 logrotate command rotates the named logfile, or
rotates all structured logs if the -l
option is not supplied.
logname
If the relevant configurables are set, structured log files automatically
rotate when they grow to
serverlog.maxmb.
megabytes
in length, and the past
n
serverlog.retain.
log files
are preserved.
n
By default, structured logs have no maximum size limit, and automatically rotate only on checkpointing and journaling events.
Options
|
Rotate the log named |
|
See “Global Options”. |
Usage Notes
Can File Arguments Use Revision Specifier? |
Can File Arguments Use Revision Range? |
Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|