Add logging, bump version to 1.1.2.