I have a Python Spark streaming application submitted to standalone cluster. I'd like to log specific informations to a custom file and I tried all solutions I found until now:
- tried to use log4j instance
- python logging module
- redirect output to file
Documentation is pretty poor about custom logging especially in Python env. But question its simple enough. How can I log custom data to file without parsing the whole stdout or checking the interactive log? Should be an easy peasy task but I'm stucking into it for few days.
Thanks,
FB