11-11-2021 04:37 AM
11-12-2021 03:33 PM
hi @karthick J ,
If you want to create a custom logger, then you will need to use log4j to create your logger. The first post will show you how to do it. If you want to saved your captured events, then you will need to follow the second post that Kaniz has shared. You will need to parse your data when reading it back.
11-11-2021 05:03 AM
Hi @karthick J , Please let me know if this thread helps:-
11-11-2021 05:19 AM
11-13-2021 07:02 AM
Thanks for the answer.
Instead of cluster logs, i want log only specific program run logs to a file with rotating.Is there a way to write the logs to mounted blob storage directory with append mode. I have read that in data-bricks file write doesn't support append mode.
11-12-2021 03:33 PM
hi @karthick J ,
If you want to create a custom logger, then you will need to use log4j to create your logger. The first post will show you how to do it. If you want to saved your captured events, then you will need to follow the second post that Kaniz has shared. You will need to parse your data when reading it back.
11-13-2021 07:03 AM
Thank you for the answer
11-13-2021 11:39 AM
@karthick J - If Jose's answer helped solve the issue, would you be happy to mark their answer as best so that others can find the solution more easily?
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.