P4DEBUG
Description
Set Perforce server or proxy trace options.
Usage Notes
Used by Client? | Used by Server? | Command-Line Alternative | Can be set in P4CONFIG file? |
---|---|---|---|
No |
Yes |
None |
No |
Value if not Explicitly Set
Operating System | Value |
---|---|
All |
As of Release 2011.1, |
Examples
server=0
server=1
server=2
server=3
Notes
To disable logging, set P4DEBUG
to server=0
.
Higher settings for the Perforce server trace options are useful only to administrators working with Perforce Technical Support to diagnose or investigate a problem. The proxy does not set debugging by default.
The preferred way to set trace options for the Perforce server (or
proxy) is to set them on the p4d
(or p4p
) command line.
For technical reasons, this does not work for sites running Perforce
servers or proxies as services under Windows. Administrators at such
sites can use p4 set
to set the trace options within
P4DEBUG
, allowing the service to run with the options enabled.
Setting server debug levels on a Perforce server (p4d
) has no
effect on the debug level of a Perforce Proxy (p4p
) process, nor
on downstream replicas or edge servers.
For further information about server trace options, see the Helix Versioning Engine Administrator Guide: Fundamentals.