Commit 1a0d1fd7 authored by whyrusleeping's avatar whyrusleeping

demote warning to debug log

parent ccbef01d
...@@ -72,7 +72,7 @@ type blockService struct { ...@@ -72,7 +72,7 @@ type blockService struct {
// NewBlockService creates a BlockService with given datastore instance. // NewBlockService creates a BlockService with given datastore instance.
func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService { func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
if rem == nil { if rem == nil {
log.Warning("blockservice running in local (offline) mode.") log.Debug("blockservice running in local (offline) mode.")
} }
return &blockService{ return &blockService{
...@@ -86,7 +86,7 @@ func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService { ...@@ -86,7 +86,7 @@ func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
// through to the blockstore and are not skipped by cache checks. // through to the blockstore and are not skipped by cache checks.
func NewWriteThrough(bs blockstore.Blockstore, rem exchange.Interface) BlockService { func NewWriteThrough(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
if rem == nil { if rem == nil {
log.Warning("blockservice running in local (offline) mode.") log.Debug("blockservice running in local (offline) mode.")
} }
return &blockService{ return &blockService{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment