loguru icon indicating copy to clipboard operation
loguru copied to clipboard

Creating files in Databricks

Open chakra1166 opened this issue 2 years ago • 2 comments

I am trying to create a log file in databricks (Google Cloud) using the below command which executes successfully but there is no log file created in the location

logger.add("/mnt/bd_logging/log/log_1.log")

Is there is something that needs to be done differently for databricks?

chakra1166 avatar Feb 16 '23 10:02 chakra1166

I don't know about Databricks, if the file could not be created, an error should be raised.

Do you see file created when using open() built-in? Because Loguru is doing the same, basically.

Delgan avatar Feb 16 '23 13:02 Delgan

@chakra1166 Did you find any solution?

hussamulhussain avatar May 24 '24 07:05 hussamulhussain