Arcpy is writing all my geoprocessing history to the metadata of a file geodatabase I am trying to delete.
The script to delete the file is on another server.
However, the following code does not work:
arcpy.env.workspace = dataloc
if arcpy.GetLogHistory():
arcpy.SetLogHistory(False)