6

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?

RyanKDalton
23.3k19 gold badges114 silver badges180 bronze badges
asked Dec 9, 2013 at 13:47
1
  • Is logging turned on in your script? Commented Dec 9, 2013 at 13:58

1 Answer 1

8

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

answered Dec 9, 2013 at 13:59
4
  • The code doesn't recognize arcpy.SetLogHistory(True). Commented Dec 9, 2013 at 14:23
  • 2
    For Arcgis 10.0 ArcPy do not support SetLogHistory(), so you have to activate it manually like described in this link help.arcgis.com/en/arcgisdesktop/10.0/help../index.html#//… Commented Dec 9, 2013 at 14:37
  • OK. And if the arcGIS desktop and ArcGIS Server are installed on the same machine, what arcpy library is used? The one installed with the server or the desktop? If it's the server, where can I find the log files? Commented Dec 9, 2013 at 15:11
  • 1
    ArcGIS desktop and ArcGIS server uses the same ArcPy library, so you will find log files in the same directory, in both cases. Commented Dec 9, 2013 at 15:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.