Repository navigation
|
Hi, wanted to know if there is any way to see the output of |
Answered by
pront
Oct 23, 2026
Replies: 2 comments 1 reply
|
Hi @tbenade, are you referring to https://vector.dev/docs/reference/vrl/functions/#log? How do you run the tests? |
1 reply
|
Yes. vector -v test '/etc/tests/*.yaml' -C /etc/vector/For Docker, set docker run --rm -i \
-e VECTOR_LOG=info \
-v "${BUILD_FOLDER}/vector:/etc/vector" \
-v "$PWD/vector/tests:/etc/tests" \
"timberio/vector:${VECTOR_VERSION}-alpine" \
test '/etc/tests/*.yaml' -C /etc/vector/For calls using See the Please don't hesitate to followup in this thread if you have further questions. |
0 replies
Answer selected by
pront
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes.
vector testdefaults to warning-level logging, while VRLlog()defaults to info. Run with-vto see those messages:For Docker, set
VECTOR_LOG=infoin the container:For calls using
level: "debug", use-vvorVECTOR_LOG=debug. To log every test event without rate limiting:See the
log()reference. Verified the verbosity settings and repeated log output with local unit tests on Ve…