Add logging support using log4js.