Skip to content

Create a log module#391

Open
shenkeyao wants to merge 4 commits intocelo-integration-rebase-16.2from
keyao/log-module
Open

Create a log module#391
shenkeyao wants to merge 4 commits intocelo-integration-rebase-16.2from
keyao/log-module

Conversation

@shenkeyao
Copy link
Copy Markdown
Member

Closes https://app.asana.com/1/1208976916964769/project/1209976130071762/task/1212376886408547?focus=true.

This PR:

  • Creates a log module with logs used for the DataDog dashboard and debugging purposes.
  • Updates metrics.md with references to the log module.
  • Replaces the logs in the codebase with the keys in the log module.

This PR does not:

  • Update specific log messages.

Key places to review:

  • Two new files in logmodule.
  • metrics.md.

@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

// Batcher

// AddedL2BlockToChannelManager is emitted each time a new L2 block is enqueued for batching.
AddedL2BlockToChannelManager = "Added L2 block to channel manager"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It seems this constant is not used in the code. Why?
Same for ClearingState, FailedToDeriveBatchFromBlock, TransactionFailedToSend, DARequestFailed, FoundL2Reorg, NewL1SafeBlock, InsertedNewL2UnsafeBlock, DerivationProcessError, DroppingBatch, FailedToParseFrames, EngineFailedTemporarily, EngineResetConfirmed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch! I missed them when replacing messages in the codebase with these consts. Updated: de38ff7.

shenkeyao and others added 3 commits April 2, 2026 17:16
Co-authored-by: Phil <philippe@espressosys.com>
…m-espresso-integration into keyao/log-module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants