1
0
Fork
You've already forked make-analyze
0

Better logging #2

Open
opened 2026年05月23日 01:43:37 +02:00 by Sh4pe · 0 comments
Owner
Copy link

macli record can be run without the -o flag. The idea was that we may want to pipe the result somewhere. But this is cluttered with debug prints and make invocation internals right now, which breaks the JSON. It would be nice if this were fixed. One idea would be to just fork, have the subprocess report the graph back to the main process but have the subprocesses be quiet. But this will likely entail some more logging fixes.

We need to figure out what we want exactly here and how we want to log the recipes during make's progress. I think there is value in it too. So this ticket will also make it necessary to have a better overall logging story.

`macli record` can be run without the `-o` flag. The idea was that we may want to pipe the result somewhere. But this is cluttered with debug prints and make invocation internals right now, which breaks the JSON. It would be nice if this were fixed. One idea would be to just fork, have the subprocess report the graph back to the main process but have the subprocesses be quiet. But this will likely entail some more logging fixes. We need to figure out what we want exactly here and how we want to log the recipes during make's progress. I think there is value in it too. So this ticket will also make it necessary to have a better overall logging story.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Sh4pe/make-analyze#2
Reference in a new issue
Sh4pe/make-analyze
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?