p4 logger


Report changed jobs and changelists.


p4 [g-opts] logger [-c sequence#] [-t countername]


The p4 logger command is meant for use in external programs that call Perforce.


-c sequence#

List all events happening after this sequence number.

-t countername

List all events after this counter number.

-c sequence# -t countername

Update the supplied counter with the current sequence number and clear the log; as this clears the log regardless of which counter name is specified, only one user can make use of this option.


See “Global Options”.

Usage Notes

Can File Arguments Use Revision Specifier?

Can File Arguments Use Revision Range?

Minimal Access Level Required




  • The p4 logger command is not intended for use by end users. It exists to support propagation of information to an external defect tracking system.

  • In distributed environments, p4 logger commands should be issued to the Commit Server, not to an Edge Server. If you are using P4DTG or other third-party tools that make use of this command, ensure that your installation is properly configured.

Related Commands

To list users who have subscribed to review particular files

p4 reviews

To set or read the value of a Perforce counter

p4 counter

To see full information about a particular changelist

p4 describe

To see a list of all changelists, limited by particular criteria

p4 changes