Previous Table of Contents Index Next
Perforce 2009.2: Command Reference



p4 logtail
Synopsis
Display the last block(s) of the error log.
Syntax
p4 [g-opts] logtail [ -b blocksize ] [ -s start_offset ] [ -m maxBlocks ]
Description
The p4 logtail command displays the last block(s) of the error log, and the offset for the next block, when available.
Output consists of a series of lines in tagged format. The first line is "... file LOG", followed by multiple blocks of log data. By default, all blocks from the start_offset are output until the end of the file. The data is returned in blocks of size blocksize, each of which is tagged with "... data". The last line is "... offset next_offset", where next_offset is the offset in the logfile from which the next block of data is to be retrieved.
Options
Usage Notes
Can File Arguments Use
Revision Specifier?
For more about administering Perforce, see the Perforce System Administrator's Guide.
Examples


Previous Table of Contents Index Next

Perforce 2009.2: Command Reference
Copyright 1999-2009 Perforce Software.