Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit f22eea5

Browse files
Merge pull request #30 from ipfs/feat/demote-warning
demote warning to debug log
2 parents ccbef01 + 1a0d1fd commit f22eea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blockservice.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type blockService struct {
7272
// NewBlockService creates a BlockService with given datastore instance.
7373
func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
7474
if rem == nil {
75-
log.Warning("blockservice running in local (offline) mode.")
75+
log.Debug("blockservice running in local (offline) mode.")
7676
}
7777

7878
return &blockService{
@@ -86,7 +86,7 @@ func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
8686
// through to the blockstore and are not skipped by cache checks.
8787
func NewWriteThrough(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
8888
if rem == nil {
89-
log.Warning("blockservice running in local (offline) mode.")
89+
log.Debug("blockservice running in local (offline) mode.")
9090
}
9191

9292
return &blockService{

0 commit comments

Comments
 (0)