spring-bootloggingkaratefeature-file

Custom detailed log in Karate


I want all my karate logs to have the featureName, scenarioName , LineNumeber along the logged message. Any idea if this is possible?


Solution

  • No one has ever asked for this because all of this will be in the HTML report.

    If you really want this, my suggestion is use the RuntimeHook and write your own logging implementation or something like that.