Skip to main content
Version: 2.23 (prerelease)

workunit-logger


Workunit Logger subsystem. Useful for debugging pants itself.

Backend: pants.backend.experimental.tools.workunit_logger

Config section: [workunit-logger]

Basic options

enabled

--[no-]workunit-logger-enabled
PANTS_WORKUNIT_LOGGER_ENABLED
pants.toml
[workunit-logger]
enabled = <bool>
default: False

Whether to enable workunit logging.

logdir

--workunit-logger-logdir=<str>
PANTS_WORKUNIT_LOGGER_LOGDIR
pants.toml
[workunit-logger]
logdir = <str>
default: .pants.d

Where to write the log to.

Advanced options

None

Deprecated options

None

None