<?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 Python custom Logging on Databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/python-custom-logging-on-databricks/m-p/2793#M79</link>
    <description>&lt;P&gt;I am planning to introduce a custom logging to the databricks workload. To achieve this I am using a python logging module. I am storing logs in driver memory &lt;B&gt;"file:/tmp/"&lt;/B&gt; directory before I move those logs to blob storage.&lt;B&gt; In my personal databricks account, I am able to list the files in "file:/tmp/" directory and can see my log file and the logs written on that file using dbutils.fs.head("path_to_file"). &lt;/B&gt;But when I try to implement the similar logic in client workspace, I am getting&amp;nbsp;an exception.&lt;/P&gt;&lt;P&gt; "java.lang.SecurityException: User does not have permission SELECT on any file."&lt;/P&gt;&lt;P&gt;How to resolve this issue? &lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 08:43:28 GMT</pubDate>
    <dc:creator>marksachin_k</dc:creator>
    <dc:date>2023-06-21T08:43:28Z</dc:date>
    <item>
      <title>Python custom Logging on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/python-custom-logging-on-databricks/m-p/2793#M79</link>
      <description>&lt;P&gt;I am planning to introduce a custom logging to the databricks workload. To achieve this I am using a python logging module. I am storing logs in driver memory &lt;B&gt;"file:/tmp/"&lt;/B&gt; directory before I move those logs to blob storage.&lt;B&gt; In my personal databricks account, I am able to list the files in "file:/tmp/" directory and can see my log file and the logs written on that file using dbutils.fs.head("path_to_file"). &lt;/B&gt;But when I try to implement the similar logic in client workspace, I am getting&amp;nbsp;an exception.&lt;/P&gt;&lt;P&gt; "java.lang.SecurityException: User does not have permission SELECT on any file."&lt;/P&gt;&lt;P&gt;How to resolve this issue? &lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 08:43:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-custom-logging-on-databricks/m-p/2793#M79</guid>
      <dc:creator>marksachin_k</dc:creator>
      <dc:date>2023-06-21T08:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python custom Logging on Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/python-custom-logging-on-databricks/m-p/2794#M80</link>
      <description>&lt;P&gt;Hi @MARKSACHIN K​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to meet you, and thanks for your question!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Let's see if your peers in the community have an answer to your question. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 04:30:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/python-custom-logging-on-databricks/m-p/2794#M80</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-22T04:30:13Z</dc:date>
    </item>
  </channel>
</rss>

