Fixed calls to log info such that they now pass parameters to the logging function