Adding a manager and log4j.