Remove log4j depencies (reverted from commit 06e642cb9eb4d8727c41587f309d390ce013c22d)