<?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 Custom Log4j logs are not being written to the DBFS storage. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/custom-log4j-logs-are-not-being-written-to-the-dbfs-storage/m-p/22119#M15112</link>
    <description>&lt;P&gt;&amp;nbsp;I used custom Log4j appender to write the custom logs through the init script and I can see the Custom Log file on the Driver logs but Databricks is not writing those custom logs to the DBFS. I have configured Logging Destination in the Advanced section of the cluster properties. Attaching the screenshots of the init script, Databricks Driver logs, init script&lt;span class="lia-inline-image-display-wrapper" image-alt="init script"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1192i29B1A1C28AF7EDCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="init script" alt="init script" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="driver logs"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1185iF7F6592AFB0641EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="driver logs" alt="driver logs" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="logs destination"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1191iA6675B7F8A5A6CBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="logs destination" alt="logs destination" /&gt;&lt;/span&gt; &lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 08:31:32 GMT</pubDate>
    <dc:creator>vs_29</dc:creator>
    <dc:date>2022-11-16T08:31:32Z</dc:date>
    <item>
      <title>Custom Log4j logs are not being written to the DBFS storage.</title>
      <link>https://community.databricks.com/t5/data-engineering/custom-log4j-logs-are-not-being-written-to-the-dbfs-storage/m-p/22119#M15112</link>
      <description>&lt;P&gt;&amp;nbsp;I used custom Log4j appender to write the custom logs through the init script and I can see the Custom Log file on the Driver logs but Databricks is not writing those custom logs to the DBFS. I have configured Logging Destination in the Advanced section of the cluster properties. Attaching the screenshots of the init script, Databricks Driver logs, init script&lt;span class="lia-inline-image-display-wrapper" image-alt="init script"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1192i29B1A1C28AF7EDCD/image-size/large?v=v2&amp;amp;px=999" role="button" title="init script" alt="init script" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="driver logs"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1185iF7F6592AFB0641EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="driver logs" alt="driver logs" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="logs destination"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1191iA6675B7F8A5A6CBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="logs destination" alt="logs destination" /&gt;&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 08:31:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/custom-log4j-logs-are-not-being-written-to-the-dbfs-storage/m-p/22119#M15112</guid>
      <dc:creator>vs_29</dc:creator>
      <dc:date>2022-11-16T08:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Log4j logs are not being written to the DBFS storage.</title>
      <link>https://community.databricks.com/t5/data-engineering/custom-log4j-logs-are-not-being-written-to-the-dbfs-storage/m-p/22120#M15113</link>
      <description>&lt;P&gt;Hi @VIjeet Sharma​&amp;nbsp;, Do you receive any error? &lt;/P&gt;&lt;P&gt;This can be an issue using DBFS mount point /dbfs in an init script: the DBFS mount point is installed asynchronously, so at the very beginning of init script execution, that mount point might not be available yet and hence the logs are not getting updated. Please let us know if I understood it correctly. &lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 07:39:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/custom-log4j-logs-are-not-being-written-to-the-dbfs-storage/m-p/22120#M15113</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-18T07:39:13Z</dc:date>
    </item>
  </channel>
</rss>

