<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Turning on/off geoprocessing history via arcpy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592068#M46400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone know how to turn off the geoprocessing history in ArcGIS v10.0 (arcpy) via Python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like ESRI got rid of the gp.loghistory setting, and I can't seem to find a way to turn it off in arcpy...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 22:48:48 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2011-08-08T22:48:48Z</dc:date>
    <item>
      <title>Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592068#M46400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone know how to turn off the geoprocessing history in ArcGIS v10.0 (arcpy) via Python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like ESRI got rid of the gp.loghistory setting, and I can't seem to find a way to turn it off in arcpy...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 22:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592068#M46400</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-08-08T22:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592069#M46401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using the arcpy.SetLogHistory function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 22:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592069#M46401</guid>
      <dc:creator>JohnYaist1</dc:creator>
      <dc:date>2011-08-08T22:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592070#M46402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure that actually does anything... For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.env.cellSize
u'MAXOF'

&amp;gt;&amp;gt;&amp;gt; arcpy.SetLogHistory
Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;
AttributeError: 'module' object has no attribute 'SetLogHistory'

&amp;gt;&amp;gt;&amp;gt; arcpy.env.SetLogHistory
Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;
AttributeError: 'GPEnvironment' object has no attribute 'SetLogHistory'

&amp;gt;&amp;gt;&amp;gt; arcpy.env.iHateArcPy
Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;
AttributeError: 'GPEnvironment' object has no attribute 'iHateArcPy'

&amp;gt;&amp;gt;&amp;gt; arcpy.env.iHateArcPy = True

&amp;gt;&amp;gt;&amp;gt; print arcpy.env.iHateArcPy
True&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It ain't necessarily so...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:25:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592070#M46402</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2021-12-12T01:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592071#M46403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.logHistory = False&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 11:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592071#M46403</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2011-08-09T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592072#M46404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;None of the following methods turn of the .xml history logging (for me, stored under C:\Users\csny490\AppData\Roaming\ESRI\Desktop10.0\ArcToolbox\History):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.loghistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.logHistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.loghistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.logHistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.setLogHistory = False &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.SetLogHistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.setLogHistory = False &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.SetLogHistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Curiously, you can also seem to set any method you think up. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.whyDoesntThisWork = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; print arcpy.whyDoesntThisWork&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which gives the false sense that some of these settings are "working" when in fact they are invalid methods and aren't actually serving any purpose. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it be that the history log setting in v10 via arcpy is just a placebo now and there is no way to tun it off? Seems that tuning it off via ArcMap (ArcMap &amp;gt; Geoprocessing &amp;gt; Geoprocessing Options) only turns off the logging when the tool is run via ArcMap. I would like to turn this setting off for all my scripts, but seemingly can't do that anymore in v10 arcpy... Yargh!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create(9.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.loghistory = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;still works to stop history logging in v10.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my experience with the old logging system (that use .tbx files), the larger the history file becomes the slower the tools execute. Seems that in v10 (9.3 too I think) the .xml files are created anew ever hour, but regardless, it is still possible to issue thousands of tool commands in an hour - each tool execution making the hourly .xml file larger, and the entire history fiolder larger as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please ESRI: We need a way to turn the geoprocessing history log off via arcpy!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 15:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592072#M46404</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-08-09T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592073#M46405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not directly on arcpy at 10.0 (at 10.1 there will be SetLogHistory/GetLogHistory functions), but you can set it through arcpy.gp like below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
import arcpy
arcpy.gp.loghistory = False #turn it off
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards to setting 'new' properties on arcpy. This is really just how Python works, there isn't a distinction between attributes in a class or setting them later in the code. You'll see this in Python standard libraries too, or even a class you might create yourself.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally speaking in arcpy, if you don't see a property on arcpy, or any of it's classes and modules, it's not there (Describe being an exception). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592073#M46405</guid>
      <dc:creator>DavidWynne</dc:creator>
      <dc:date>2021-12-12T01:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592074#M46406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info David. I'm looking forward to 10.1...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 19:38:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592074#M46406</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-08-10T19:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592075#M46407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found it's actually:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.gp.logHistory = False&lt;/PRE&gt;&lt;SPAN&gt;and not&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.gp.loghistory = False&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(case sensitivity of v10 matters even though it's from gp... but I guess arcpy.gp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, go to find that's why I had 4GB of history .xml files in my profile!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 21:11:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592075#M46407</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-12-16T21:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592076#M46408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, 'arcpy.gp.logHistory = False' does nothing to prevent geoprocessing steps from being written to ESRI metadata (at least when run in an IDE... haven't tested from an ArcMap session yet).&amp;nbsp; There is a button one can add to ArcCatalog to allow a manual erase of this geoprocessing history, but I have found nothing that indicates the function(s) it corresponds to in the arcpy module.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 15:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592076#M46408</guid>
      <dc:creator>DanMarrier</dc:creator>
      <dc:date>2012-01-10T15:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592077#M46409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Agreed - All these bells and whistles are quite annoying - especially when you can't turn them off! Especially annoying when they affect (even just a little) geoprocessing performance...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Verified: Using arcpy.gp.logHistory = False does keep the .xml geoprocessing history files at bay (for Windows 7 stored in C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\ESRI\Desktop10.0\ArcToolbox\History)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, there doesn't appear to be anyway from writting that dribble to the dataset metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG style="text-decoration: underline;"&gt;SUPER LAME!!!&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 16:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592077#M46409</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2012-01-10T16:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592078#M46410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to delete geoprocessing history from the metadata in ArcGIS 10.&amp;nbsp; There was a script for 9.3.x that did this, but I'm a little reluctant to use it in 10, because of the changes in Metadata from 9 to 10&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 17:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592078#M46410</guid>
      <dc:creator>DianeMcConnaughey</dc:creator>
      <dc:date>2012-01-24T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592079#M46411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there any way to delete geoprocessing history from the metadata in ArcGIS 10.&amp;nbsp; There was a script for 9.3.x that did this, but I'm a little reluctant to use it in 10, because of the changes in Metadata from 9 to 10&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/gallery/file/geodatabase/details?entryID=0F00C386-1422-2418-7FA6-03F84C1B3FBA"&gt;http://resources.arcgis.com/gallery/file/geodatabase/details?entryID=0F00C386-1422-2418-7FA6-03F84C1B3FBA&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2012 21:20:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592079#M46411</guid>
      <dc:creator>LoganPugh</dc:creator>
      <dc:date>2012-01-24T21:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592080#M46412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your post was from quite some time ago, but I am finding that the SetLogHistory (false) is working as expected in arcpy. I am not finding any additional XML inserted into my GDB_ITEMS documentation column for the workspace after executing a compress after arcpy.SetLogHistory(False). Let Support Services know if you are encountering this as an issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.SetLogHistory(False)&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.Compress_management(r'Database Connections\sqlserver - blakley -&amp;nbsp; 10.3.sde')&lt;/P&gt;&lt;P&gt;&amp;lt;Result 'Database Connections\\sqlserver - blakley -&amp;nbsp; 10.3.sde'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592080#M46412</guid>
      <dc:creator>MelissaJarman</dc:creator>
      <dc:date>2015-09-04T14:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592081#M46413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is quite a necro, apologies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I'm finding that none of these flags work&amp;nbsp; to not write geoprocessing history to the metadata. It is successful that there are no xml files being generated at least. But the biggest issue is GP history in metadata which slows down GP tools (personal experience, what took 15 seconds jumped to 15 minutes and back to 15 seconds after I cleared the history).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specs:&lt;/P&gt;&lt;P&gt;ArcMap 10.6.1/Pro 2.3.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all on SDE and I'm running my scripts externally not in ArcMap or Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's ridiculous that there is an official ESRI function to turn it off but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/10.6/analyze/arcpy-functions/setloghistory.htm"&gt;https://desktop.arcgis.com/en/arcmap/10.6/analyze/arcpy-functions/setloghistory.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/functions/setloghistory.htm"&gt;https://pro.arcgis.com/en/pro-app/arcpy/functions/setloghistory.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 14:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592081#M46413</guid>
      <dc:creator>SimonLiu1</dc:creator>
      <dc:date>2019-09-12T14:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Turning on/off geoprocessing history via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592082#M46414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESRI technical support logged BUG-000128506 regarding&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SetLogHistory&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function not functioning properly. I have this same issue. In my case and verified by tech support&amp;nbsp;&lt;STRONG&gt;SetLogHistory&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is functioning as expected when the code is executed from within Pro from a python prompt.&amp;nbsp;&lt;STRONG&gt;SetLogHistory&lt;/STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is&lt;SPAN&gt;&amp;nbsp;also functioning as expected if the code is tied to a toolbox tool.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Python 3.6.x&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ArcGIS Pro 2.4.3&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 20:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/turning-on-off-geoprocessing-history-via-arcpy/m-p/592082#M46414</guid>
      <dc:creator>RobertHolliday</dc:creator>
      <dc:date>2020-02-10T20:07:56Z</dc:date>
    </item>
  </channel>
</rss>

