Title here
Summary here
Logging can be configured as part of the ocm config file (ocm configfile) or by command line options of the ocm command. Details about the YAML structure of a logging settings can be found on https://github.com/mandelsoft/logging.
The command line also supports some quick-config options for enabling log levels for dedicated tags and realms or realm prefixes (logging keys).
The following tags are used by the command line tool:
blobhandler
: execution of blob handler used to upload resource blobs to an ocm repository.cd-diff
: component descriptor modificationThe following realms are used by the command line tool:
ocm
: general realm used for the ocm go library.ocm/accessmethod/ociartifact
: access method ociArtifactocm/accessmethod/wget
: access method for wgetocm/blobaccess/wget
: blob access for wgetocm/compdesc
: component descriptor handlingocm/config
: configuration managementocm/context
: context lifecycleocm/credentials
: Credentialsocm/credentials/dockerconfig
: docker config handling as credential repositoryocm/credentials/vault
: HashiCorp Vault Accessocm/downloader
: Downloadersocm/maven
: Maven repositoryocm/npm
: NPM registryocm/oci/mapping
: OCM to OCI Registry Mappingocm/oci/ocireg
: OCI repository handlingocm/plugins
: OCM plugin handlingocm/processing
: output processing chainsocm/refcnt
: reference countingocm/toi
: TOI loggingocm/transfer
: OCM transfer handlingocm/valuemerge
: value marge handling
type: logging.config.ocm.software
contextType: attributes.context.ocm.software
settings:
defaultLevel: Info
rules:
- ...