diff --git a/src/index.js b/src/index.js index 6b818d6b..85bc5503 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,7 @@ const defaultOptions = require('./default-options') const defaultDatastore = require('./default-datastore') const ERRORS = require('./errors') -const log = debug('repo') +const log = debug('ipfs:repo') const noLimit = Number.MAX_SAFE_INTEGER const AUTO_MIGRATE_CONFIG_KEY = 'repoAutoMigrate' diff --git a/src/lock-memory.js b/src/lock-memory.js index 624d23ff..5480a757 100644 --- a/src/lock-memory.js +++ b/src/lock-memory.js @@ -3,7 +3,7 @@ const errors = require('./errors') const debug = require('debug') -const log = debug('repo:lock') +const log = debug('ipfs:repo:lock') const lockFile = 'repo.lock' diff --git a/src/lock.js b/src/lock.js index 63684836..64fcfda4 100644 --- a/src/lock.js +++ b/src/lock.js @@ -5,7 +5,7 @@ const path = require('path') const debug = require('debug') const { lock } = require('proper-lockfile') -const log = debug('repo:lock') +const log = debug('ipfs:repo:lock') const lockFile = 'repo.lock' /** diff --git a/src/version.js b/src/version.js index 7a8d6b53..0241f937 100644 --- a/src/version.js +++ b/src/version.js @@ -3,7 +3,7 @@ const { Buffer } = require('buffer') const Key = require('interface-datastore').Key const debug = require('debug') -const log = debug('repo:version') +const log = debug('ipfs:repo:version') const versionKey = new Key('version')