Gently sweat the garlic, tomatoes and chili peppers until it's softened a bit.
Add the red wine vinegar and sugar.
bring this to a boil and reduce the heat to let it simmer for about an hour. Stir occasionally.
Transfer the jam to a weckpot and let cool off completely before serving.