goharbor/harbor · error

no log data getter is configured

Error message

no log data getter is configured

What it means

Error "no log data getter is configured" thrown in goharbor/harbor.

Source

Thrown at src/jobservice/logger/log_data_handler.go:27

// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package logger

import (
	"errors"

	"github.com/goharbor/harbor/src/jobservice/logger/getter"
)

// Retrieve is wrapper func for getter.Retrieve
func Retrieve(logID string) ([]byte, error) {
	val, ok := singletons.Load(systemKeyLogDataGetter)
	if !ok {
		return nil, errors.New("no log data getter is configured")
	}

	return val.(getter.Interface).Retrieve(logID)
}

View on GitHub (pinned to 7b2fd08cc5)

When it happens

Trigger: Thrown at src/jobservice/logger/log_data_handler.go:27 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of goharbor/harbor@7b2fd08cc5 (2026-08-16). Data as JSON: /api/errors/464c9b4407e930bf. Report an issue: GitHub.