Log version numbers and some logging helper functions.