added logapi.updateLogger.