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

Update DSL to support using custom log4j.xml file running ATs #8720

Open
lucassaldanha opened this issue Oct 14, 2024 · 0 comments
Open

Update DSL to support using custom log4j.xml file running ATs #8720

lucassaldanha opened this issue Oct 14, 2024 · 0 comments

Comments

@lucassaldanha
Copy link
Member

While investigating issues, it would be useful to expand our DSL to support custom log levels that can be defined via the log4j.xml file. Usually, we rely on using the debug_changeLevel endpoint, but it can be tricky to use this option when we need some early log messages.

Ideally, we have the option of creating a custom log4j.xml file via our DSL when creating a test node.

It could look like something like this:

TekuNodeConfigBuilder.createBeaconNode()
        [...]
        .wihtLogLevel("tech.pegasys.teku.spec.logic.common.block.AbstractBlockProcessor", DEBUG)
        .wihtLogLevel("tech.pegasys.teku.spec.logic.common.statetransition.epoch", TRACE)
        [...]
        .build();
@lucassaldanha lucassaldanha changed the title Add support for using custom log4j.xml file running ATs Update DSL to support using custom log4j.xml file running ATs Oct 14, 2024
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

No branches or pull requests

2 participants
@lucassaldanha and others