Hi there Ajam, Meraj
Thanks for using QandA platform
you can use Azure ML Logging & Experiment Tracking with mlflow
. For notebook runs logging to Azure ML Runs makes usre logs are there even if the page is refreshed.
from azureml.core import Run
run = Run.get_context()
run.log("message", "Experiment started")
For long-running exp avoid idle shutdown by setting Keep Alive policies in compute settings. also try, redirect logs to a persistent file using:
!nohup python script.py > output.log 2>&1 &
You can store logs in Azure Blob Storage to track errors even after crashes.
If this helps kindly accept the answer thanks much.