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

Set-up logging infrastructure #434

Open
7 tasks
eupp opened this issue Dec 6, 2024 · 0 comments
Open
7 tasks

Set-up logging infrastructure #434

eupp opened this issue Dec 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eupp
Copy link
Collaborator

eupp commented Dec 6, 2024

As the Lincheck codebase grows in size and complexity, debugging becomes more and more challenging process.
To improve the development process and speed-up debugging process, we need to add a logging facilities to Lincheck.

  • Decide whether to use existing library, or implement simple logging facilities from scratch.

  • Select a set of subsystems that can benefit from logging, and add logging there gradually in several steps.

    • Runner and FixedActiveThreadsExecutor classes: log tasks execution process, thrown exceptions, etc.
    • ManagedStrategy: log calls to injected methods, such as beforeReadField, beforeWriteField, etc.
    • LincheckJavaAgent: log what classes are transformed.
      • add possibility to dump transformed bytecode into files for inspection.
    • TODO: what else?
@eupp eupp added the enhancement New feature or request label Dec 6, 2024
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

No branches or pull requests

1 participant