Files are being read correctly and are being deleted after read operation is completed. The issue is, it only logs the word "log" in ingested_files.log whereas I want to log information about the file (timestamp and filename) which was read.
At the moment, ingested_files.log only contains "log" at every line.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.