title: Zipping the files in Log4j
body: <p>I have used <code>SizeBasedTriggeringPolicy</code> in <strong>LOG4J</strong>, it splits the files based on the size. My question here is that I want to zip all the files within a date into single folder.</p>
  <blockquote>
  <p>Example:</p>
  <p>log_20160709_1.txt</p>
  <p>log_20160709_2.txt</p>
  <p>log_20160709.3.txt</p>
  </blockquote>
  <p>all the above files have to zip into <strong>log_20160709.zip</strong>.</p>
  <p>I am able to zip the individual files but I want all to be in single zip folder.</p>
  <p>Please provide the suggestion for it.</p>