SetLogHistory (arcpy)

Zusammenfassung

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.

When log history is activated, after each geoprocessing tool is run, an entry with the information about the tool will be added to:

Syntax

SetLogHistory (log_history)
ParameterErläuterungDatentyp
log_history

True, to enable geoprocessing logging history and False, to disable.

Boolean

Codebeispiel

SetLogHistory example

Turn off geoprocessing log history.

import arcpy
arcpy.SetLogHistory(False)

Verwandte Themen

4/26/2014