In Desktop, the arcpy.GetMessages() function generally returned full and useful geoprocessing tool information. However, in Pro (currently at 2.3.3) GetMessages() now generally only returns start/end/elapsed time (!?!?!). ESRI: Please bring back the full geoprocessing message! Many of us record extensive log files for the purposes of debugging and performance monitoring and testing. The messages retuned in Pro now don't even have the tool name any more! As a GIS Programmer/Analyst with 20+ years experience in geoprocessing automation, I find this pretty disappointing.
In Desktop (v10.7 and before)
>>> arcpy.Select_analysis(blah, blah)
>>> arcpy.GetMessages()
Executing: Select E:\lidar_derivatives\processing_data\rs_hydro_processing\fishnet.shp
E:\lidar_derivatives\processing_data\rs_hydro_processing\tile_479\tile_479.gdb\tile_479 "TILE_ID = 479"
Start Time: Sat May 18 09:38:56 2019
Succeeded at Sat May 18 09:38:58 2019 (Elapsed Time: 1.47 seconds)
But now in Pro:
>>> arcpy.Select_analysis(blah, blah)
>>> arcpy.GetMessages()
Start Time: Friday, May 24, 2019 2:35:35 PM
Succeeded at Friday, May 24, 2019 2:35:37 PM (Elapsed Time: 1.47 seconds)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.