laptop and a wrench

Bug

Using the arcpy.SetLogMetadata(False) function does not disable metadata.

Last Published: February 6, 2023 ArcGIS Pro
Bug ID Number BUG-000154836
SubmittedDecember 30, 2022
Last ModifiedOctober 7, 2024
Applies toArcGIS Pro
Version foundN/A
Operating SystemN/A
Operating System VersionN/A
StatusAs Designed

Additional Information

The arcpy.SetLogMetadata() function does not stop the XML metadata file from being created but keeps ArcGIS Pro from logging geoprocessing tools used on the layer in the metadata file. While logging metadata, geoprocessing tools run on the layer are documented within the XML file as an < Process > under the < lineage > tag. If logging is set to False, then the geoprocessing tools run on the layer will not be logged there.

Steps to Reproduce

Bug ID: BUG-000154836

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options