Add log4j-extras dependency

To enable log compression and automatic deletion after a set period.

Closes #7927