c5abc0de6f
We log metainfo object operations and it looks that the log's message convention is `Object {operation}`, however the `Object Download` operation didn't match with the actual operation and the one that was representing it had was `Download Object`. This commit changes the log's message for the download object operation according to the other object operations log messages format and fixes the log message for the Get Object operation. For finding this I executed the following command at the root of the repository to obtain the list of lines where we log object operations. $> ag 'log\.Info\(".*Object.*",' --no-color git:(main) satellite/metainfo/endpoint_object.go 179: endpoint.log.Info("Object Upload", zap.Stringer("Project ID", keyInfo.ProjectID), zap.String("operation", "put"), zap.String("type", "object")) 336: endpoint.log.Info("Object Download", zap.Stringer("Project ID", keyInfo.ProjectID), zap.String("operation", "get"), zap.String("type", "object")) 557: endpoint.log.Info("Download Object", zap.Stringer("Project ID", keyInfo.ProjectID), zap.String("operation", "download"), zap.String("type", "object")) 791: endpoint.log.Info("Object List", zap.Stringer("Project ID", keyInfo.ProjectID), zap.String("operation", "list"), zap.String("type", "object")) 979: endpoint.log.Info("Object Delete", zap.Stringer("Project ID", keyInfo.ProjectID), zap.String("operation", "delete"), zap.String("type", "object")) `ag` is a command-line tool similar to `grep` Change-Id: I9072c5967eb42c397a2c64761d843675dd4991ec |
||
---|---|---|
.. | ||
expireddeletion | ||
piecedeletion | ||
pointerverification | ||
attribution_test.go | ||
attribution.go | ||
batch_test.go | ||
batch.go | ||
config_test.go | ||
config.go | ||
endpoint_bucket_test.go | ||
endpoint_bucket.go | ||
endpoint_object_test.go | ||
endpoint_object.go | ||
endpoint_segment_test.go | ||
endpoint_segment.go | ||
endpoint_test.go | ||
endpoint.go | ||
signing.go | ||
validation_test.go | ||
validation.go | ||
version_collector_test.go | ||
version_collector.go |