Skip to content

Commit

Permalink
adjust logging level in tarfs to avoid confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
fffw committed Mar 20, 2015
1 parent 7a226e6 commit 94a6c89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github.com/getlantern/tarfs/tarfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ func New(tarData []byte, local string) (*FileSystem, error) {
_, err := os.Stat(local)
if err != nil {
if os.IsNotExist(err) {
log.Debugf("Local dir %v does not exist, not using\n", local)
log.Tracef("Local dir %v does not exist, not using\n", local)
} else {
log.Errorf("Unable to stat local dir %v, not using: %v\n", local, err)
}
local = ""
} else {
log.Tracef("Using local filesystem at %v", local)
log.Debugf("Using local filesystem at %v", local)
}
}

Expand Down

0 comments on commit 94a6c89

Please sign in to comment.