SetLogHistory

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.

Auswertung

When running a script, history logging is activated by default. To disable history logging, use arcpy.SetLogHistory(False).

Syntax

SetLogHistory (log_history)
ParameterErklärungDatentyp
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