OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Add logging

Open enyst opened this issue 2 years ago • 1 comments

This is WIP rebased on top of the switch to poetry branch. Sorry it's harder to see diff this way; that will be fixed.

@dorbanianas introduced logging on the testing component, this PR brings it in the opendevin module.

Introduce logging, and start replacing print() with logs.

  • general logger ./logs/opendevin.log
  • also log in console
  • special logger for LLM: keeps separate LLM debug logs like we currently have, one file per prompt and one per response, in ./logs/llm
  • (Note to self) log json_repair when it did something.

enyst avatar Apr 03 '24 16:04 enyst

This has been approved, so let's resolve the conflicts and get it merged in!

neubig avatar Apr 06 '24 13:04 neubig