Usually done with planks of cedar or larch, the thin film of carbon that is created during a very light surface burn protects the wood. Read more here about how this draws out moisture, & the resulting chemical compound protects the wood
557