Re-enabled the logging (although it is causing too much noise during builds). Leaving it to rtyler to decide whether to have a better approach