storj/satellite/metainfo
Ivan Fraixedes c5abc0de6f satellite/metainfo: Homogenize object operations logs
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
2022-08-05 23:11:39 +00:00
..
expireddeletion satellite/metabase: copy expires_at to segments while FinishCopyObject 2022-04-27 18:39:54 +00:00
piecedeletion satellite/metainfo/piecedeletion: use nodes cache 2022-07-21 00:43:24 +00:00
pointerverification satellite/metainfo: reenable piece hash verification 2021-04-12 15:12:42 -06:00
attribution_test.go satellite/console: integrate sessions into satellite UI 2022-06-13 08:02:02 +00:00
attribution.go satellite/metainfo: Use project-level attribution at bucket level 2022-06-07 17:08:50 +00:00
batch_test.go satellite/metainfo: use metabase package instead storj 2022-03-23 15:47:54 +00:00
batch.go satellite/metainfo: endpoint cleanup 2021-08-26 09:52:38 +00:00
config_test.go Merge 'master' branch 2020-11-10 11:58:59 +00:00
config.go {satellite/metainfo, satellite/accounting}: remove ValidateSegmentLimit config value and check 2022-07-27 15:36:53 +00:00
endpoint_bucket_test.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_bucket.go satellite/metainfo: ListBuckets extended with value attribution assigned to bucket 2022-07-18 18:23:50 +00:00
endpoint_object_test.go satellite/metainfo: usage limits for copy 2022-07-25 12:35:27 +02:00
endpoint_object.go satellite/metainfo: Homogenize object operations logs 2022-08-05 23:11:39 +00:00
endpoint_segment_test.go satellite/metabase: don't return expired objects 2022-07-04 21:32:30 +03:00
endpoint_segment.go satellite/metainfo: usage limits for copy 2022-07-25 12:35:27 +02:00
endpoint_test.go satellite/metainfo: use metaclient type instead of storj 2022-07-08 14:17:19 +02:00
endpoint.go satellite/metainfo: usage limits for copy 2022-07-25 12:35:27 +02:00
signing.go satellite/metainfo: use deterministic signing for satStreamID 2021-01-19 15:56:29 +00:00
validation_test.go satellite/metainfo: make subsequent auth validations not perform rate-limiting 2021-09-10 12:07:06 +00:00
validation.go {satellite/metainfo, satellite/accounting}: remove ValidateSegmentLimit config value and check 2022-07-27 15:36:53 +00:00
version_collector_test.go satellite/metainfo: skip TestUserAgentTransferStats 2022-05-25 11:15:23 +00:00
version_collector.go satellite/metainfo: add IPFS datastore user agent to metrics 2022-05-17 13:09:22 +02:00