setadditivity to avoid repetitive logs in log4j