better logging of license details

fixes #1869