Skip to content

Commit d82c578

Browse files
fix pants.log location in docs (#20547)
Update the `pants.log` file location after the changes in #19911
1 parent d782c03 commit d82c578

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/docs/using-pants/using-pants-in-ci.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ attempts_default = 3
237237

238238
## Tip: store Pants logs as artifacts
239239

240-
We recommend that you configure your CI system to store the pants log (`.pantsd.d/pants.log`) as a build artifact, so that it is available in case you need to troubleshoot CI issues.
240+
We recommend that you configure your CI system to store the pants log (`.pants.d/workdir/pants.log`) as a build artifact, so that it is available in case you need to troubleshoot CI issues.
241241

242242
Different CI providers and systems have different ways to configure build artifacts:
243243

src/python/pants/engine/streaming_workunit_handler.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ def can_finish_async(self) -> bool:
178178
completed?
179179
180180
The main reason to `return False` is if your callback logs in its final call, when
181-
`finished=True`, as it may end up logging to `.pantsd.d/pants.log` instead of the console,
182-
which is harder for users to find. Otherwise, most callbacks should return `True` to avoid
183-
slowing down Pants from finishing the run.
181+
`finished=True`, as it may end up logging to `.pants.d/workdir/pants.log` instead of the
182+
console, which is harder for users to find. Otherwise, most callbacks should return `True`
183+
to avoid slowing down Pants from finishing the run.
184184
"""
185185

186186

0 commit comments

Comments
 (0)