diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-01-26 00:50:18 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-01-26 00:50:18 -0800 |
| commit | 835da19c09465dd8aae51a5c9f1ed637a9818f56 (patch) | |
| tree | a407f6c0fb0870ae4b394378b8d49961d7cd7668 | |
| parent | c48fc8b4de5922c44d22da306699f789353ecdd4 (diff) | |
| download | seaweedfs-835da19c09465dd8aae51a5c9f1ed637a9818f56.tar.xz seaweedfs-835da19c09465dd8aae51a5c9f1ed637a9818f56.zip | |
add logging
| -rw-r--r-- | weed/filer2/filer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go index c603777bd..a0af942e0 100644 --- a/weed/filer2/filer.go +++ b/weed/filer2/filer.go @@ -157,7 +157,7 @@ func (f *Filer) CreateEntry(ctx context.Context, entry *Entry, o_excl bool) erro oldEntry, _ := f.FindEntry(ctx, entry.FullPath) - glog.V(4).Infof("CreateEntry %s: old entry : %v", entry.FullPath, oldEntry) + glog.V(4).Infof("CreateEntry %s: old entry: %v exclusive:%v", entry.FullPath, oldEntry, o_excl) if oldEntry == nil { if err := f.store.InsertEntry(ctx, entry); err != nil { glog.Errorf("insert entry %s: %v", entry.FullPath, err) |
