reverted for-each loop to normal for loop in performance-sensitive code
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/logging-log4j2.git