Fix format of logging calls to work with updated library