changed log levels to only show errors on stderr