diff --git a/docker-compose.yml b/docker-compose.yml index 90b4ca7..828c6e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -74,11 +74,13 @@ services: # # Uses the well-known Azurite development account. Point the store at it with # AZURE_STORAGE_ENDPOINT and the matching AZURE_STORAGE_KEY. + # --skipApiVersionCheck lets Azurite accept the azblob SDK's API version when it is + # newer than the ones the emulator knows. azurite: image: mcr.microsoft.com/azure-storage/azurite ports: - "10000:10000" # Blob service - command: azurite-blob --blobHost 0.0.0.0 --loose + command: azurite-blob --blobHost 0.0.0.0 --loose --skipApiVersionCheck healthcheck: test: ["CMD", "nc", "-z", "127.0.0.1", "10000"] interval: 5s diff --git a/stores.go b/stores.go index 28910e0..82c42d4 100644 --- a/stores.go +++ b/stores.go @@ -135,7 +135,7 @@ func NewStore(baseURL, extension, compressionType string, overwrite bool, opts . } // The query is left out of the logged URL, it can hold credentials (S3 secret_access_key). - zlog.Info("store compression configured", + zlog.Debug("store compression configured", zap.String("store", base.Scheme+"://"+base.Host+base.Path), zap.String("compression", compressionType), zap.String("compression_config", spec),