title: Progress bar on console using Log4J or LogBack
body: <p>I have a <strong>console application</strong> that prints its output using Log4J. This is useful as I can easily implement a switch to optionally also show debug messages, even though they are hidden by default.</p>
  
  <p>This application has some <strong>long running actions</strong> for which a <strong>progress bar</strong> would be appropriate.</p>
  
  <p>What is the best way to implement this using either <strong>Log4J or LogBack</strong>?</p>