<?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 ArcGIS Online Notebooks and  logging.getLogger() - where is the log? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1062501#M40300</link>
    <description>&lt;P&gt;In ArcGIS Online Notebooks (Standard) how is python logging handled?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I access the&amp;nbsp;logging.getLogger() log in AGOL Notebooks?&lt;/LI&gt;&lt;LI&gt;Where should the logger point to?&lt;/LI&gt;&lt;LI&gt;Any other best practice suggestions?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Local Notebooks (ArcGIS Pro) has documentation on logging practices but they seem not to apply to the AGOL version. As expected, I have not found any entries in the AGOL Activity Log.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 18:45:33 GMT</pubDate>
    <dc:creator>Wolfgang_Grunberg_AZ_DFFM</dc:creator>
    <dc:date>2021-05-27T18:45:33Z</dc:date>
    <item>
      <title>ArcGIS Online Notebooks and  logging.getLogger() - where is the log?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1062501#M40300</link>
      <description>&lt;P&gt;In ArcGIS Online Notebooks (Standard) how is python logging handled?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I access the&amp;nbsp;logging.getLogger() log in AGOL Notebooks?&lt;/LI&gt;&lt;LI&gt;Where should the logger point to?&lt;/LI&gt;&lt;LI&gt;Any other best practice suggestions?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Local Notebooks (ArcGIS Pro) has documentation on logging practices but they seem not to apply to the AGOL version. As expected, I have not found any entries in the AGOL Activity Log.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 18:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1062501#M40300</guid>
      <dc:creator>Wolfgang_Grunberg_AZ_DFFM</dc:creator>
      <dc:date>2021-05-27T18:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Notebooks and  logging.getLogger() - where is the log?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1063129#M40322</link>
      <description>&lt;P&gt;If you don't specify a path for your log file, then by default ArcGIS Online Notebooks will log to standard out, and you will see your log messages appear in the output cell. (Note that the default log level is warning, so you will only see log messages in the output cell that are of level warning or higher.)&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;&lt;A href="https://docs.python.org/3/library/logging.html#logging.basicConfig" target="_self"&gt;&lt;FONT face="andale mono,times"&gt;logging.baseConfig()&lt;/FONT&gt;&lt;/A&gt; to specify a file in which to store your logging messages instead. You can also adjust the logging level, if you want to see messages from other levels. For example,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import logging&lt;BR /&gt;logging.basicConfig(&lt;BR /&gt;    filename = r'/arcgis/home/example.log',&lt;BR /&gt;    level = logging.DEBUG&lt;BR /&gt;)&lt;BR /&gt;logging.debug('A DEGBUG log message.')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 18:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1063129#M40322</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2021-05-29T18:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Notebooks and  logging.getLogger() - where is the log?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1063847#M40357</link>
      <description>&lt;P&gt;For my fellow neophytes - uploading and downloading files to the AGOL Notebooks workspace:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/work-with-content-in-a-user-workspace.htm" target="_self"&gt;https://doc.arcgis.com/en/arcgis-online/create-maps/work-with-content-in-a-user-workspace.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 23:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-notebooks-and-logging-getlogger/m-p/1063847#M40357</guid>
      <dc:creator>Wolfgang_Grunberg_AZ_DFFM</dc:creator>
      <dc:date>2021-06-01T23:15:40Z</dc:date>
    </item>
  </channel>
</rss>

