Replaced morgan logging with log4js.