Print out the chainmask configuration.
.. don't know how this snuck into this commit. Sorry.

Fix compile build before anyone notices.
Add a debug statement to log the currently chosen chainmask configuration.