SetLogHistory (arcpy)
Resumen
For script tools and stand-alone scripts (scripts run outside of an ArcGIS application), you can enable or disable history logging using the SetLogHistory function.
The history log file is an Extensible Markup Language (XML) file that contains information about each geoprocessing operation. The information contained in the log file is essentially the same as that found in the Results window.
Sintaxis
SetLogHistory (log_history)
Parámetro | Explicación | Tipo de datos |
log_history |
True, to enable geoprocessing logging history and False, to disable. | Boolean |
Ejemplo de código
SetLogHistory example
Turn off geoprocessing log history.
import arcpy
arcpy.SetLogHistory(False)
Temas relacionados
9/11/2013