GetLogHistory

This ArcGIS 2.8 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Determines whether history logging is active.

Discussion

To enable history logging, use the SetLogHistory function.

Syntax

GetLogHistory ()
Return Value
Data TypeExplanation
Boolean

Returns whether geoprocessing logging history is enabled.

Code sample

GetLogHistory example

Disable history logging, if enabled.

import arcpy
if arcpy.GetLogHistory():
    arcpy.SetLogHistory(False)

Related topics