if logging to stderr then return err when trying to
fetch logs.