Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

improve farmer logging, paid and unpaid downloads #734

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

littleskunk
Copy link
Collaborator

  • Log level debug for submitted exchange reports.
  • Log level info for downloads, uploads and mirror creation including shard hash and size
  • Use the header information to identify paid and unpaid downloads. More details here: Deny unpaid mirror creation #719

self._log.info('Shard download completed hash %s size %s',
item.hash,
contract.get('data_size'));
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check for mirror vs. download seems a bit fragile, as it's dependent on user-agent. So we should be aware of this later.

@braydonf braydonf merged commit 0bace00 into storj-archived:master Sep 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants