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 logname option is not supplied.

If the relevant configurables are set, structured log files automatically rotate when they grow to serverlog.maxmb.n megabytes in length, and the past serverlog.retain.n log files are preserved.

By default, structured logs have no maximum size limit, and automatically rotate only on checkpointing and journaling events.

Options

-l logname

Rotate the log named logname.

g-opts

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

super