GetLogMetadata

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 geoprocessing operations are written to dataset metadata.

Discussion

To enable the update of dataset metadata, use the SetLogMetadata function.

Syntax

GetLogMetadata ()
Return Value
Data TypeExplanation
Boolean

Returns whether geoprocessing operations are written to dataset metadata.

Code sample

GetLogMetadata example

Disable the update of dataset metadata, if enabled.

import arcpy
if arcpy.GetLogMetadata():
    arcpy.SetLogMetadata(False)