Capturing agent logs during integration tests #723
-
I think this is something I may have figured out before but can't seem to recreate it... Is there a standard way of capturing agent logs during integration tests to debug failures? |
Beta Was this translation helpful? Give feedback.
Answered by
BrianJKoopman
Aug 14, 2024
Replies: 1 comment
-
Running locally it's possible to direct the agent logs to a file, then view that file. In the tests add
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jlashner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running locally it's possible to direct the agent logs to a file, then view that file. In the tests add
args=['--log-dir', './logs/']
to the agent runner fixture creation. For example: