- changed logging to log