-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for local files to --log-output
#2249
Comments
Can I try this issue? |
Sure! |
@na-- Do we expect to get some sort of rotation or is it something we would encourage to delegate to other tools? |
We should probably start without that, we can always add it later if there's demand for it. |
Some context is probably missing on my side, but what's the delta between redirecting stdout/stderr to a file from the command-line, and having k6 do it for us instead? As in, something along the lines of |
Feature Description
--log-output
currently supports onlynone
(disabled),stdout
,stderr
andloki
.Supporting local files should be simple and will be beneficial for debugging, or in CI environments, and it can also be used by log-forwarding tools to ship the logs pretty much anywhere. Combined with the
logformat
option, this feature should be pretty versatile.Somewhat connected issue: #1939
The text was updated successfully, but these errors were encountered: