You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, how can i when processing failure in handlerOn get the last 100 lines of log ?
I want to send a message with the latest logs when my project crashes.
The text was updated successfully, but these errors were encountered:
Hi, at the moment, Dagu provide the following three special environment variables:
DAG_EXECUTION_LOG_PATH: The path to the log file for the current step.
DAG_SCHEDULER_LOG_PATH: The path to the log file for the scheduler.
DAG_REQUEST_ID: The unique ID for the current execution request.
As a workaround, you can search for files containing ${DAG_REQUEST_ID:0:8} in it's file name to retrieve all log files associated with the current DAG execution. But it is not a solution to access log files from the error step.
Accessing the log files from the error step sounds like useful capability in general. Let me explore potential ways to implement this, and perhaps we can look into how other workflow tools like Airflow handle similar situations.
Hi, how can i when processing failure in handlerOn get the last 100 lines of log ?
I want to send a message with the latest logs when my project crashes.
The text was updated successfully, but these errors were encountered: