Mix the dry ingredients: Whisk together the flour, baking powder, cornstarch, and salt in a medium bowl.
2 1/2 cups all-purpose flour, 1/2 teaspoon baking powder, 2 Tablespoons cornstarch, 1/2 teaspoon salt
Mix the wet ingredients: In a large bowl with a hand mixer, or a stand mixer fitted with the paddle attachment, beat the butter and sugar together for 3 full minutes. Add the egg and vanilla and beat until combined, about 1 minute. Scrape down the bottom and sides of the bowl as needed.
3/4 cup unsalted butter, 3/4 cup granulated sugar, 1 large egg, 1 1/2 teaspoons vanilla extract
Finish the dough: Add the dry ingredient to the wet ingredients and mix on low until combined.
Divide the dough: Turn the dough out onto a clean work surface. You should have about 680g of dough. Divide the dough in half (340g each if you’re weighing). If you don’t have a scale, that’s ok, it doesn’t have to be exact. If one is slightly smaller, use that for the cinnamon dough.
Make the cinnamon dough: Place one half back into the mixing bowl and add the cinnamon and cocoa powder, if using. It doesn’t add any cocoa flavor, just makes the dough slightly darker. Beat on low until combined.
1 Tablespoon cinnamon, 1 teaspoon cocoa powder
Roll the doughs into rectangles: Generously flour a piece of parchment paper on the counter. You can tape it down to prevent it from sliding, or place it on top of a silicone baking mat. Use a lightly floured rolling pin to roll the dough out to a 8x14 inch rectangle. Use your hands to make sure the edges are straight and smooth. Repeat the process rolling the cinnamon dough. I like to place a piece of parchment paper on top of the vanilla dough and use a pencil on the parchment paper to mark the edges so I know how large to roll it out.
Stack the doughs: Lift the parchment paper with the cinnamon dough and line up a long edge with the vanilla dough. Gently flip the cinnamon dough over onto the vanilla dough, doing your best to line them up. Peel the parchment from the dough . Use your fingers to patch in holes and line up any edges. Gently press down on the cinnamon dough to fuse the doughs together. Use a sharp knife to straighten any edges if needed.
Roll into a log and chill: Starting with the long side, roll the dough as tightly as possible. Work slowly and use the parchment paper under the vanilla dough to assist you as needed. If the dough is getting stuck to the parchment, gently slide a dough scraper underneath in places as needed. You should have a tightly rolled 18-inch log of dough. Cut it in half so it’s easier to work with, then wrap each half tightly in plastic wrap. Refrigerate for at least 1 hour, or up to 3 days.
Prep: Preheat the oven to 350°F. Line 2 large light-colored baking sheets with parchment paper.
Slice and bake: Remove the dough from the fridge and slice them into 1/2-inch cookies. You should have about 24 total (12 cookies per log). Arrange them on the prepared baking sheets a few inches apart. Bake for 10-12 minutes, until set and golden around the edges. Cool on the baking sheet for 5 minutes then transfer to a wire rack to cool completely.
Make the cream cheese glaze: Beat the cream cheese and butter until combined. Add the powdered sugar, milk, and vanilla until it’s smooth and a drizzling consistency. Add more milk a few teaspoons at a time if it needs to be thinner or add a Tablespoon of powdered sugar at a time to thicken it to your desired consistency. Drizzle the glaze over the cooled cookies and allow it to set and harden.
2 oz cream cheese, 2 Tablespoons unsalted butter, 1/2 cup powdered sugar, 2 Tablespoons milk, 1/2 teaspoon vanilla extract