After you've created a cavity in the wood, use your chainsaw to make a few thin splits into the sides of the wood. Split it just enough so that the log won't fall apart, but light can still shine ...
One common joinery method used in wood working is the mortise and tenon. A mortise is basically a hole in a piece of wood and the tenon is another piece of wood cut to tightly fit in that hole.