P4DEBUG

Set Helix 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, server=1 is the default setting.

Examples

See the "Helix Server Trace Flags" article.

Notes

To disable logging, set P4DEBUG to server=0.

Higher settings for the Helix 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 Helix server (or proxy) is to set them on the p4d (or p4p) command line. For technical reasons, this does not work for sites running Helix server 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 Helix server (p4d) has no effect on the debug level of a Helix Proxy (p4p) process, nor on downstream replicas or edge servers.