Perforce – Windows start investigation and install

Perforce is a commercial, proprietary revision control system developed by Perforce Software, Inc.

by wiki


Perforce requires at least two executables: the Perforce service (p4d), and at least one Perforce application (such as p4 on UNIX, orp4.exe on Windows).

The Perforce service and applications are available from the Downloads page on the Perforce web site:

Go to the web page, select the files for your platform, and save the files to disk.


Windows installation is very easy.

Config files and settings can be found and modified:


Enabling structured logging

To enable structured logging, set the serverlog.file.N configurable(s) to the name of the file. Valid names for structured log files and the commands used to set them are shown in the following table.
Note that enabling all structured logging files can consume considerable diskspace. See Structured logfile rotation for information on how to manage the size of the log file and the number of log rotations.

All loggable events (commands, errors, audit, etc…)

p4 configure set serverlog.file.1=all.csv

Command events (command start, compute, and end)

p4 configure set serverlog.file.2=commands.csv

Error events (errors-failed, errors-fatal)

p4 configure set serverlog.file.3=errors.csv

Audit events (audit, purge)

p4 configure set serverlog.file.4=audit.csv

Command tracking (track-usage, track-rpc, track-db)

p4 configure set serverlog.file.5=track.csv

User events; one record every time a user runs p4 logappend.

p4 configure set serverlog.file.6=user.csv

Server events (startup, shutdown, checkpoint, journal rotation, etc.)

p4 configure set serverlog.file.7=events.csv

Major events that occur during replica integrity checking.

p4 configure set serverlog.file.8=integrity.csv

This also can be used for Linux version of P4

About trianglesis

Александр Брюндтзвельт - гений, филантроп, 100 гривен в кармане. Этот блог - "сток" моих мыслей и заметок. Достаточно одного взгляда на него, чтобы понять, что такой же бардак творится у меня в голове. Если вам этот бардак интересен - милости прошу.
Bookmark the permalink.