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

demote warning to debug log #30

Merged
merged 1 commit into from
Sep 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions blockservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type blockService struct {
// NewBlockService creates a BlockService with given datastore instance.
func New(bs blockstore.Blockstore, rem exchange.Interface) BlockService {
if rem == nil {
log.Warning("blockservice running in local (offline) mode.")
log.Debug("blockservice running in local (offline) mode.")
}

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

return &blockService{
Expand Down