Spring Batch - Counting Processed Rows
So I am creating a Spring Batch job for reading a CSV file and for certain rows which contain incomplete data; it checks, outputs to the log that the row is incomplete, and skips. It works great except at the end of the job I want it to log how many rows it found that were incomplete. Just something simple like "X incomplete rows were found". I've Googled and searched around for a solution but not found anything really. Any help is appreciated and any more info needed just ask. Spring Batch itself keeps track of how many records it reads, writes, processes and how many it skips (for each of