Add version information to log output