Unanswered
Hi Everyone, If I Want To Run A Script That Has Trains Tracking Statements In It But Just This Time I Want To Disable All Logging, How Would I Go About That?
Hi IntriguedRat44
You can make log it offline (i.e. into a local folder/zip) by calling:Task.set_offline(True)You can also set the environment variable:TRAINS_OFFLINE_MODE=1You could also just skip the Trains.init call 😉
Does that help?
287 Views
0
Answers
5 years ago
2 years ago