Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pants.log location in docs #20547

Merged
merged 2 commits into from
Feb 14, 2024
Merged

Conversation

chris-smith-zocdoc
Copy link
Contributor

Update the pants.log file location after the changes in #19911

Copy link
Member

@AlexTereshenkov AlexTereshenkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for this! Shall we update another reference to the file? I believe that's the last reference to the old locaiton.

diff --git a/src/python/pants/engine/streaming_workunit_handler.py b/src/python/pants/engine/streaming_workunit_handler.py
index 947f30fef2..e21ac61e89 100644
--- a/src/python/pants/engine/streaming_workunit_handler.py
+++ b/src/python/pants/engine/streaming_workunit_handler.py
@@ -178,7 +178,7 @@ class WorkunitsCallback(ABC):
         completed?
 
         The main reason to `return False` is if your callback logs in its final call, when
-        `finished=True`, as it may end up logging to `.pantsd.d/pants.log` instead of the console,
+        `finished=True`, as it may end up logging to `.pantsd.d/workdir/pants.log` instead of the console,
         which is harder for users to find. Otherwise, most callbacks should return `True` to avoid
         slowing down Pants from finishing the run.
         """
~

@chris-smith-zocdoc
Copy link
Contributor Author

Updated

@AlexTereshenkov AlexTereshenkov enabled auto-merge (squash) February 14, 2024 17:09
@AlexTereshenkov AlexTereshenkov merged commit d82c578 into pantsbuild:main Feb 14, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants