hallowed-dog-74273
03/22/2024, 11:40 PMfaint-rocket-14513
03/22/2024, 11:41 PMpyflyte run --remote
, you can increase the verbosity level by setting the FLYTE_SDK_LOGGING_LEVEL
environment variable. For more detailed logs, you can set this variable to a lower level, such as DEBUG
which corresponds to a numeric value of 10
. Here's how you can do it:
export FLYTE_SDK_LOGGING_LEVEL=10
pyflyte run --remote ...
This will make the logging more verbose and should help in debugging issues by providing more detailed information in the logs.
Additionally, when working with tasks, you can also set the logging level directly in the task decorator by using the environment
parameter:
from flytekit import task
@task(environment={"FLYTE_SDK_LOGGING_LEVEL": "10"})
def my_task():
...
This approach allows you to control the verbosity level for specific tasks, making it easier to debug them individually.
---
This is an AI-generated response, take its recommendations with caution.
Please help us improve the model accuracy by giving this response a thumbs up/thumbs down reaction.
Sources
https://github.com/flyteorg/flyte/issues/4830/
https://discuss.flyte.org/t/9458852/hey-there-we-are-noting-some-relatively-high-latency-for-sim/ Answered By Glime 👍 button 👎 button