Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #779 from MikaelSmith/lower-inaccessible
Browse files Browse the repository at this point in the history
Lower logging cause of inaccessible to journal log
  • Loading branch information
MikaelSmith authored Jun 17, 2020
2 parents fa3e17e + f1a4513 commit aba5a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/entryBase.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (e *EntryBase) SetPartialMetadata(obj interface{}) *EntryBase {
// MarkInaccessible sets the inaccessible attribute and logs a message about why the entry is
// inaccessible.
func (e *EntryBase) MarkInaccessible(ctx context.Context, err error) {
activity.Warnf(ctx, "Omitting %v: %v", e.id, err)
activity.Record(ctx, "Omitting %v: %v", e.id, err)
e.isInaccessible = true
}

Expand Down

0 comments on commit aba5a09

Please sign in to comment.