LOG4J Questions and Answers

Explain why do you get multiple copies of the message in log file sometime?

There could be two reasons why this may happen

  • Repeated configuration of log4j
  • Attaching the same appenders to multiple loggers.