Burning the Yule log was an ancient custom meant to honor the Sun and encourage its return after the long, dark winter nights. The Yule log was often kept burning for 12 days and nights, and its ashes were believed to bring good luck and protect the home.