I have the below code which do serialisation and save the output in the file. I also want to write this in log4j log file what\'s the correct way to do it ?
p