change logging to only output errors.
Other errors configurable