Skip to content

Conversation

alarso16
Copy link
Contributor

@alarso16 alarso16 commented Sep 23, 2025

Why this should be merged

Firewood logging currently isn't being started, so this can make debugging difficult.

Closes #1265

How this works

Adds a single call to ffi.StartLogs, which reports any error (this can only be called once per thread successfully, so any error can just be logged).

How this was tested

Existing UT

Need to be documented?

Yes

Need to update RELEASES.md?

No

@alarso16 alarso16 self-assigned this Sep 23, 2025
@alarso16 alarso16 added enhancement New feature or request Pending another PR labels Sep 23, 2025
Base automatically changed from alarso16/deprecate-old-fw-path to master September 23, 2025 21:54
@alarso16 alarso16 force-pushed the alarso16/firewood-logs branch from 9369c13 to c015ee8 Compare September 24, 2025 13:25
@alarso16 alarso16 marked this pull request as ready for review September 24, 2025 13:25
@alarso16 alarso16 requested a review from a team as a code owner September 24, 2025 13:25
Copy link
Member

@JonathanOppenheimer JonathanOppenheimer left a comment

Choose a reason for hiding this comment

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

As you noted this (ChainDataDir) should be documented, probably in config.md right?

@alarso16
Copy link
Contributor Author

As you noted this (ChainDataDir) should be documented, probably in config.md right?

I think the VM has the obligation to only access ChainDataDir, and this isn't a functionality change. However, I should update releases.md

@alarso16 alarso16 force-pushed the alarso16/firewood-logs branch from fcefa6f to 3d1a0b3 Compare September 25, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Firewood logging
3 participants