[GIS] find ArcGIS logs when I execute a python script using arcpy

arcgis-10.0arcpygeoprocessinglog

I'm executing a python script locally on my computer where ArcGIS Desktop 10.0 is installed (Windows 7).
The script uses functions from the arcpy library installed with the ArcGIS Desktop to manage (crud) and geoprocess data stored in an ArcSDE Oracle database (remote server).

Do you know where I can find the ArcGIS logs related to the execution of this script?

Best Answer

History logs are stored in C:\Users\<user name>\AppData\(Local or LocalLow or Roaming)\ESRI\Desktop10.1\ArcToolbox\History

but to save log history, you have to activate it, using this code :

arcpy.SetLogHistory(True)

EDIT:

For Arcgis 10.0 ArcPy do not support SetLogHistory(), so you have to activate it manually like described in this link