diff --git a/internal/logs/logs.go b/internal/logs/logs.go index 933837aa..9dbec872 100644 --- a/internal/logs/logs.go +++ b/internal/logs/logs.go @@ -1,130 +1,130 @@ package logs const ( - RequestUnmatched = "request unmatched" // Error in ../../api/router.go - CheckContainer = "check container" // Info in ../../authmate/authmate.go - CreateContainer = "create container" // Info in ../../authmate/authmate.go - StoreBearerTokenIntoFrostFS = "store bearer token into FrostFS" // Info in ../../authmate/authmate.go - UpdateAccessCredObjectIntoFrostFS = "update access cred object into FrostFS" // Info in ../../authmate/authmate.go - MetricsAreDisabled = "metrics are disabled" // Warn in ../../metrics/app.go - FoundMoreThanOneUnversionedNode = "found more than one unversioned node" // Debug in ../../pkg/service/tree/tree.go - ServiceIsRunning = "service is running" // Info in ../../cmd/s3-gw/service.go - ServiceCouldntStartOnConfiguredPort = "service couldn't start on configured port" // Warn in ../../cmd/s3-gw/service.go - ServiceHasntStartedSinceItsDisabled = "service hasn't started since it's disabled" // Info in ../../cmd/s3-gw/service.go - ShuttingDownService = "shutting down service" // Info in ../../cmd/s3-gw/service.go - CantGracefullyShutDownService = "can't gracefully shut down service, force stop" // Error in ../../cmd/s3-gw/service.go - ContainerResolverWillBeDisabled = "container resolver will be disabled because of resolvers 'resolver_order' is empty" // Info in ../../cmd/s3-gw/app.go - FailedToInitializeTracing = "failed to initialize tracing" // Warn in ../../cmd/s3-gw/app.go - TracingConfigUpdated = "tracing config updated" // Info in ../../cmd/s3-gw/app.go - FailedToShutdownTracing = "failed to shutdown tracing" // Warn in ../../cmd/s3-gw/app.go - UsingCredentials = "using credentials" // Info in ../../cmd/s3-gw/app.go - ApplicationStarted = "application started" // Info in ../../cmd/s3-gw/app.go - ApplicationFinished = "application finished" // Info in ../../cmd/s3-gw/app.go - StartingServer = "starting server" // Info in ../../cmd/s3-gw/app.go - StoppingServer = "stopping server" // Info in ../../cmd/s3-gw/app.go - SIGHUPConfigReloadStarted = "SIGHUP config reload started" // Info in ../../cmd/s3-gw/app.go - FailedToReloadConfigBecauseItsMissed = "failed to reload config because it's missed" // Warn in ../../cmd/s3-gw/app.go - FailedToReloadConfig = "failed to reload config" // Warn in ../../cmd/s3-gw/app.go - FailedToReloadResolvers = "failed to reload resolvers" // Warn in ../../cmd/s3-gw/app.go - FailedToReloadServerParameters = "failed to reload server parameters" // Warn in ../../cmd/s3-gw/app.go - SIGHUPConfigReloadCompleted = "SIGHUP config reload completed" // Info in ../../cmd/s3-gw/app.go - LogLevelWontBeUpdated = "log level won't be updated" // Warn in ../../cmd/s3-gw/app.go - FailedToAddServer = "failed to add server" // Warn in ../../cmd/s3-gw/app.go - AddServer = "add server" // Info in ../../cmd/s3-gw/app.go - ResolverNNSWontBeUsedSinceRPCEndpointIsntProvided = "resolver 'nns' won't be used since 'rpc_endpoint' isn't provided" // Warn in ../../cmd/s3-gw/app.go - InvalidLifetimeUsingDefaultValue = "invalid lifetime, using default value (in seconds)" // Error in ../../cmd/s3-gw/app_settings.go - InvalidCacheSizeUsingDefaultValue = "invalid cache size, using default value" // Error in ../../cmd/s3-gw/app_settings.go - FailedToParseDefaultLocationConstraint = "failed to parse 'default' location constraint, default one will be used" // Warn in cmd/s3-gw/app_settings.go - FailedToReadRegionMapFilePolicies = "failed to read region map file, policies will be empty" // Warn in cmd/s3-gw/app_settings.go - DefaultLocationConstraintCantBeOverriden = "'default' location constraint can't be overriden by custom policy, use 'placement_policy.default'" // Warn in cmd/s3-gw/app_settings.go - FailedToParseLocationConstraint = "failed to parse location constraint, it cannot be used" // Warn in cmd/s3-gw/app_settings.go - FailedToParseDefaultCopiesNumbers = "failed to parse 'default' copies numbers, default one will be used" // Warn in cmd/s3-gw/app_settings.go - FailedToParseCopiesNumbers = "failed to parse copies numbers, skip" // Warn in cmd/s3-gw/app_settings.go - DefaultNamespacesCannotBeEmpty = "default namespaces cannot be empty, defaults will be used" // Warn in cmd/s3-gw/app_settings.go - FailedToParseNamespacesConfig = "failed to unmarshal namespaces config" // Warn in cmd/s3-gw/app_settings.go - DefaultNamespaceConfigValuesBeOverwritten = "default namespace config value be overwritten by values from 'namespaces.config'" // Warn in cmd/s3-gw/app_settings.go - MultipleDefaultOverridesFound = "multiple default overrides found, only one will be used" // Warn in cmd/s3-gw/app_settings.go - FailedToParseDefaultDefaultLocationConstraint = "failed to parse default 'default' location constraint" // Fatal in cmd/s3-gw/app_settings.go - ConstraintAdded = "constraint added" // Info in ../../cmd/s3-gw/app_settings.go - SkipEmptyAddress = "skip, empty address" // Warn in ../../cmd/s3-gw/app_settings.go - AddedStoragePeer = "added storage peer" // Info in ../../cmd/s3-gw/app_settings.go - PrepareConnectionPool = "prepare connection pool" // Debug in ../../cmd/s3-authmate/modules/utils.go - PrepareFrostfsIDClient = "prepare frostfsid client" // Debug in ../../cmd/s3-authmate/modules/utils.go - PreparePolicyClient = "prepare policy client" // Debug in ../../cmd/s3-authmate/modules/utils.go - CreateSubjectInFrostFSID = "create subject in frostfsid" // Debug in ../../cmd/s3-authmate/modules/utils.go - SubjectAlreadyExistsInFrostFSID = "subject already exists in frostfsid" // Debug in ../../cmd/s3-authmate/modules/utils.go - SetSubjectNameInFrostFSID = "set subject name in frostfsid" // Debug in ../../cmd/s3-authmate/modules/utils.go - AddPolicyChainRules = "add policy chain rules" // Debug in ../../cmd/s3-authmate/modules/utils.go - InvalidCacheEntryType = "invalid cache entry type" // Warn in ../../api/cache/* - InvalidCacheKeyType = "invalid cache key type" // Warn in ../../api/cache/objectslist.go - ObjectIsCopied = "object is copied" // Info in ../../api/handler/copy.go - RequestFailed = "request failed" // Error in ../../api/handler/util.go - GetBucketInfo = "get bucket info" // Warn in ../../api/handler/cors.go - GetBucketCors = "get bucket cors" // Warn in ../../api/handler/cors.go - CouldntDeleteObject = "couldn't delete object" // Error in ../../api/layer/layer.go - BucketIsCreated = "bucket is created" // Info in ../../api/handler/put.go - CouldNotParseContainerObjectLockEnabledAttribute = "could not parse container object lock enabled attribute" // Error in ../../api/layer/container.go - CouldNotListUserContainers = "could not list user containers" // Error in ../../api/layer/container.go - CouldNotFetchContainerInfo = "could not fetch container info" // Error in ../../api/layer/container.go - MismatchedObjEncryptionInfo = "mismatched obj encryptionInfo" // Warn in ../../api/layer/multipart_upload.go - UploadPart = "upload part" // Debug in ../../api/layer/multipart_upload.go - CouldntDeleteOldPartObject = "couldn't delete old part object" // Error in ../../api/layer/multipart_upload.go - CouldNotPutCompletedObject = "could not put a completed object (multipart upload)" // Error in ../../api/layer/multipart_upload.go - CouldNotDeleteUploadPart = "could not delete upload part" // Warn in ../../api/layer/multipart_upload.go - CouldntDeletePart = "couldn't delete part" // Warn in ../../api/layer/multipart_upload.go - PartDetails = "part details" // Debug in ../../api/layer/multipart_upload.go - GetObject = "get object" // Debug in ../../api/layer/layer.go - ResolveBucket = "resolve bucket" // Info in ../../api/layer/layer.go - CouldntDeleteCorsObject = "couldn't delete cors object" // Error in ../../api/layer/cors.go - PutObject = "put object" // Debug in ../../api/layer/object.go - FailedToDeleteObject = "failed to delete object" // Debug in ../../api/layer/object.go - FailedToDiscardPutPayloadProbablyGoroutineLeaks = "failed to discard put payload, probably goroutine leaks" // Warn in ../../api/layer/object.go - FailedToSubmitTaskToPool = "failed to submit task to pool" // Warn in ../../api/layer/object.go - CouldNotFetchObjectMeta = "could not fetch object meta" // Warn in ../../api/layer/object.go - GetTreeNode = "get tree node" // Debug in ../../api/layer/tagging.go - GetTreeNodeToDelete = "get tree node to delete" // Debug in ../../api/layer/tagging.go - CouldntPutBucketInfoIntoCache = "couldn't put bucket info into cache" // Warn in ../../api/layer/cache.go - CouldntAddObjectToCache = "couldn't add object to cache" // Warn in ../../api/layer/cache.go - CouldntCacheAccessControlOperation = "couldn't cache access control operation" // Warn in ../../api/layer/cache.go - CouldntPutObjAddressToNameCache = "couldn't put obj address to name cache" // Warn in ../../api/layer/cache.go - CouldntCacheListOfObjects = "couldn't cache list of objects" // Warn in ../../api/layer/cache.go - CouldntCacheListSession = "couldn't cache list session" // Warn in ../../api/layer/cache.go - CouldntCacheTags = "couldn't cache tags" // Error in ../../api/layer/cache.go - CouldntCacheLockInfo = "couldn't cache lock info" // Error in ../../api/layer/cache.go - CouldntCacheBucketSettings = "couldn't cache bucket settings" // Warn in ../../api/layer/cache.go - CouldntCacheCors = "couldn't cache cors" // Warn in ../../api/layer/cache.go - CouldntCacheListPolicyChains = "couldn't cache list policy chains" // Warn in ../../api/layer/cache.go - RequestEnd = "request end" // Info in ../../api/middleware/response.go - CouldntReceiveAccessBoxForGateKeyRandomKeyWillBeUsed = "couldn't receive access box for gate key, random key will be used" // Debug in ../../api/middleware/auth.go - FailedToPassAuthentication = "failed to pass authentication" // Error in ../../api/middleware/auth.go - FailedToResolveCID = "failed to resolve CID" // Debug in ../../api/middleware/metrics.go - RequestStart = "request start" // Info in ../../api/middleware/reqinfo.go - LogHTTP = "http log" // Info in ../../api/middleware/log_http.go - FailedToCloseHTTPBody = "failed to close http body" // Error in ../../api/middleware/log_http.go - FailedToInitializeHTTPLogger = "failed to initialize http logger" // Error in ../../api/middleware/log_http.go - FailedToReloadHTTPFileLogger = "failed to reload http file logger" // Error in ../../api/middleware/log_http.go - FailedToReadHTTPBody = "failed to read http body" // Error in ../../api/middleware/log_http.go - FailedToProcessHTTPBody = "failed to process http body" // Error in ../../api/middleware/log_http.go - LogHTTPDisabledInThisBuild = "http logging disabled in this build" // Warn in ../../api/middleware/log_http_stub.go - FailedToUnescapeObjectName = "failed to unescape object name" // Warn in ../../api/middleware/reqinfo.go - InvalidDefaultMaxAge = "invalid defaultMaxAge" // Fatal in ../../cmd/s3-gw/app_settings.go - CantShutDownService = "can't shut down service" // Panic in ../../cmd/s3-gw/service.go - CouldntGenerateRandomKey = "couldn't generate random key" // Fatal in ../../cmd/s3-gw/app.go - FailedToCreateResolver = "failed to create resolver" // Fatal in ../../cmd/s3-gw/app.go - CouldNotLoadFrostFSPrivateKey = "could not load FrostFS private key" // Fatal in ../../cmd/s3-gw/app.go - FailedToCreateConnectionPool = "failed to create connection pool" // Fatal in ../../cmd/s3-gw/app.go - FailedToDialConnectionPool = "failed to dial connection pool" // Fatal in ../../cmd/s3-gw/app.go - FailedToCreateTreePool = "failed to create tree pool" // Fatal in ../../cmd/s3-gw/app.go - FailedToDialTreePool = "failed to dial tree pool" // Fatal in ../../cmd/s3-gw/app.go - ListenAndServe = "listen and serve" // Fatal in ../../cmd/s3-gw/app.go - NoHealthyServers = "no healthy servers" // Fatal in ../../cmd/s3-gw/app.go - CouldNotInitializeAPIHandler = "could not initialize API handler" // Fatal in ../../cmd/s3-gw/app.go - RuntimeSoftMemoryDefinedWithGOMEMLIMIT = "soft runtime memory defined with GOMEMLIMIT environment variable, config value skipped" // Warn in ../../cmd/s3-gw/app.go - RuntimeSoftMemoryLimitUpdated = "soft runtime memory limit value updated" // Info in ../../cmd/s3-gw/app.go - AnonRequestSkipFrostfsIDValidation = "anon request, skip FrostfsID validation" // Debug in ../../api/middleware/auth.go - FrostfsIDValidationFailed = "FrostfsID validation failed" // Error in ../../api/middleware/auth.go - InitFrostfsIDContractFailed = "init frostfsid contract failed" // Fatal in ../../cmd/s3-gw/app.go - InitPolicyContractFailed = "init policy contract failed" // Fatal in ../../cmd/s3-gw/app.go + RequestUnmatched = "request unmatched" + CheckContainer = "check container" + CreateContainer = "create container" + StoreBearerTokenIntoFrostFS = "store bearer token into FrostFS" + UpdateAccessCredObjectIntoFrostFS = "update access cred object into FrostFS" + MetricsAreDisabled = "metrics are disabled" + FoundMoreThanOneUnversionedNode = "found more than one unversioned node" + ServiceIsRunning = "service is running" + ServiceCouldntStartOnConfiguredPort = "service couldn't start on configured port" + ServiceHasntStartedSinceItsDisabled = "service hasn't started since it's disabled" + ShuttingDownService = "shutting down service" + CantGracefullyShutDownService = "can't gracefully shut down service, force stop" + ContainerResolverWillBeDisabled = "container resolver will be disabled because of resolvers 'resolver_order' is empty" + FailedToInitializeTracing = "failed to initialize tracing" + TracingConfigUpdated = "tracing config updated" + FailedToShutdownTracing = "failed to shutdown tracing" + UsingCredentials = "using credentials" + ApplicationStarted = "application started" + ApplicationFinished = "application finished" + StartingServer = "starting server" + StoppingServer = "stopping server" + SIGHUPConfigReloadStarted = "SIGHUP config reload started" + FailedToReloadConfigBecauseItsMissed = "failed to reload config because it's missed" + FailedToReloadConfig = "failed to reload config" + FailedToReloadResolvers = "failed to reload resolvers" + FailedToReloadServerParameters = "failed to reload server parameters" + SIGHUPConfigReloadCompleted = "SIGHUP config reload completed" + LogLevelWontBeUpdated = "log level won't be updated" + FailedToAddServer = "failed to add server" + AddServer = "add server" + ResolverNNSWontBeUsedSinceRPCEndpointIsntProvided = "resolver 'nns' won't be used since 'rpc_endpoint' isn't provided" + InvalidLifetimeUsingDefaultValue = "invalid lifetime, using default value (in seconds)" + InvalidCacheSizeUsingDefaultValue = "invalid cache size, using default value" + FailedToParseDefaultLocationConstraint = "failed to parse 'default' location constraint, default one will be used" + FailedToReadRegionMapFilePolicies = "failed to read region map file, policies will be empty" + DefaultLocationConstraintCantBeOverriden = "'default' location constraint can't be overriden by custom policy, use 'placement_policy.default'" + FailedToParseLocationConstraint = "failed to parse location constraint, it cannot be used" + FailedToParseDefaultCopiesNumbers = "failed to parse 'default' copies numbers, default one will be used" + FailedToParseCopiesNumbers = "failed to parse copies numbers, skip" + DefaultNamespacesCannotBeEmpty = "default namespaces cannot be empty, defaults will be used" + FailedToParseNamespacesConfig = "failed to unmarshal namespaces config" + DefaultNamespaceConfigValuesBeOverwritten = "default namespace config value be overwritten by values from 'namespaces.config'" + MultipleDefaultOverridesFound = "multiple default overrides found, only one will be used" + FailedToParseDefaultDefaultLocationConstraint = "failed to parse default 'default' location constraint" + ConstraintAdded = "constraint added" + SkipEmptyAddress = "skip, empty address" + AddedStoragePeer = "added storage peer" + PrepareConnectionPool = "prepare connection pool" + PrepareFrostfsIDClient = "prepare frostfsid client" + PreparePolicyClient = "prepare policy client" + CreateSubjectInFrostFSID = "create subject in frostfsid" + SubjectAlreadyExistsInFrostFSID = "subject already exists in frostfsid" + SetSubjectNameInFrostFSID = "set subject name in frostfsid" + AddPolicyChainRules = "add policy chain rules" + InvalidCacheEntryType = "invalid cache entry type" + InvalidCacheKeyType = "invalid cache key type" + ObjectIsCopied = "object is copied" + RequestFailed = "request failed" + GetBucketInfo = "get bucket info" + GetBucketCors = "get bucket cors" + CouldntDeleteObject = "couldn't delete object" + BucketIsCreated = "bucket is created" + CouldNotParseContainerObjectLockEnabledAttribute = "could not parse container object lock enabled attribute" + CouldNotListUserContainers = "could not list user containers" + CouldNotFetchContainerInfo = "could not fetch container info" + MismatchedObjEncryptionInfo = "mismatched obj encryptionInfo" + UploadPart = "upload part" + CouldntDeleteOldPartObject = "couldn't delete old part object" + CouldNotPutCompletedObject = "could not put a completed object (multipart upload)" + CouldNotDeleteUploadPart = "could not delete upload part" + CouldntDeletePart = "couldn't delete part" + PartDetails = "part details" + GetObject = "get object" + ResolveBucket = "resolve bucket" + CouldntDeleteCorsObject = "couldn't delete cors object" + PutObject = "put object" + FailedToDeleteObject = "failed to delete object" + FailedToDiscardPutPayloadProbablyGoroutineLeaks = "failed to discard put payload, probably goroutine leaks" + FailedToSubmitTaskToPool = "failed to submit task to pool" + CouldNotFetchObjectMeta = "could not fetch object meta" + GetTreeNode = "get tree node" + GetTreeNodeToDelete = "get tree node to delete" + CouldntPutBucketInfoIntoCache = "couldn't put bucket info into cache" + CouldntAddObjectToCache = "couldn't add object to cache" + CouldntCacheAccessControlOperation = "couldn't cache access control operation" + CouldntPutObjAddressToNameCache = "couldn't put obj address to name cache" + CouldntCacheListOfObjects = "couldn't cache list of objects" + CouldntCacheListSession = "couldn't cache list session" + CouldntCacheTags = "couldn't cache tags" + CouldntCacheLockInfo = "couldn't cache lock info" + CouldntCacheBucketSettings = "couldn't cache bucket settings" + CouldntCacheCors = "couldn't cache cors" + CouldntCacheListPolicyChains = "couldn't cache list policy chains" + RequestEnd = "request end" + CouldntReceiveAccessBoxForGateKeyRandomKeyWillBeUsed = "couldn't receive access box for gate key, random key will be used" + FailedToPassAuthentication = "failed to pass authentication" + FailedToResolveCID = "failed to resolve CID" + RequestStart = "request start" + LogHTTP = "http log" + FailedToCloseHTTPBody = "failed to close http body" + FailedToInitializeHTTPLogger = "failed to initialize http logger" + FailedToReloadHTTPFileLogger = "failed to reload http file logger" + FailedToReadHTTPBody = "failed to read http body" + FailedToProcessHTTPBody = "failed to process http body" + LogHTTPDisabledInThisBuild = "http logging disabled in this build" + FailedToUnescapeObjectName = "failed to unescape object name" + InvalidDefaultMaxAge = "invalid defaultMaxAge" + CantShutDownService = "can't shut down service" + CouldntGenerateRandomKey = "couldn't generate random key" + FailedToCreateResolver = "failed to create resolver" + CouldNotLoadFrostFSPrivateKey = "could not load FrostFS private key" + FailedToCreateConnectionPool = "failed to create connection pool" + FailedToDialConnectionPool = "failed to dial connection pool" + FailedToCreateTreePool = "failed to create tree pool" + FailedToDialTreePool = "failed to dial tree pool" + ListenAndServe = "listen and serve" + NoHealthyServers = "no healthy servers" + CouldNotInitializeAPIHandler = "could not initialize API handler" + RuntimeSoftMemoryDefinedWithGOMEMLIMIT = "soft runtime memory defined with GOMEMLIMIT environment variable, config value skipped" + RuntimeSoftMemoryLimitUpdated = "soft runtime memory limit value updated" + AnonRequestSkipFrostfsIDValidation = "anon request, skip FrostfsID validation" + FrostfsIDValidationFailed = "FrostfsID validation failed" + InitFrostfsIDContractFailed = "init frostfsid contract failed" + InitPolicyContractFailed = "init policy contract failed" PolicyValidationFailed = "policy validation failed" ServerReconnecting = "reconnecting server..." ServerReconnectedSuccessfully = "server reconnected successfully"