Add logger and log4cxx dependency