-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Feature]: Allow full logging for functions or logs to be exported to a file #260
Comments
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
Still relevant. |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
Still relevant. |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
Still relevant. |
I'm going to transfer this over to https://github.com/Shopify/function-runner which is a more relevant home for the issue. |
Can you provide more detail on the command that's being truncated here? |
@Hahlh Tagging you on the question above. |
What area(s) will this request affect?
Function
What type of change do you want to see?
Substantial change to existing feature
Overview
At the moment it seems not possible to get extensive logs out of test runs for Shopify functions (without executing the function directly via node) as they are always truncated:
It seems that a log functionality has existed once, but was removed without any alternative being introduced:
Shopify/cli#969
There also seem to be no command line options to prevent truncation neither for Javy nor for Shopify CLI directly.
Are we simply missing something here?
It seems full logging would be essential for function development.
Having to adapt the function for direct execution with node every time we want to log intermediate steps feels like improvable DX.
Thank you for your time.
Leo
Motivation
Full logging is essential for function development and good DX.
The text was updated successfully, but these errors were encountered: