Fix for changed log4js api