Preheat oven to 350°F (175°C) and line baking sheets with parchment paper.
In a large bowl, cream together softened butter and granulated sugar until light and fluffy.
Beat in the egg yolks and vanilla extract until well combined.
In a separate bowl, whisk together flour and salt.
Gradually add the dry ingredients to the butter mixture, mixing until a cohesive dough forms.
Roll dough into 1-inch balls and place 2 inches apart on the prepared baking sheets.
Using your thumb or the back of a small measuring spoon, press a deep indentation into the center of each ball.
Fill each indentation with approximately 1/2 teaspoon of jam.
Bake for 12 to 15 minutes, or until the edges are just beginning to turn golden brown.
Allow cookies to cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.