Custom Log4j logs are not being written to the DBFS storage.

vs_29
New Contributor II

 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 scriptinit scriptdriver logslogs destination