title: Upgrade log4j2(2.17.1) in Grails project with Grails version 2.5.6
body: <p>We are using Groovy on Grails with grails version 2.5.6. This grails version downloads logj(1.2.17) jars. I have added following dependency in BuildConfig.groovy file.</p>
  <p><code>compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1'</code></p>
  <p>This downloads latest log4j2 jar but grails-2.5.6.zip contains log4j-1.2.17.jar too. So to make sure that this old jar should not be used, I deleted log4j folder like following</p>
  <pre><code>RUN yum install -y wget &amp;&amp; yum install -y unzip &amp;&amp; wget https://github.com/grails/grails-core/releases/download/v$GRAILS_VERSION/grails-$GRAILS_VERSION.zip &amp;&amp; \
      unzip grails-$GRAILS_VERSION.zip &amp;&amp; \
      rm -rf grails-$GRAILS_VERSION/lib/log4j
  </code></pre>
  <p>Will this solve a problem? or there will still be log4j version used somewhere?</p>