Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

watch: adjust output format

Chris Lu47b3f932e417
diff --git a/weed/command/watch.go b/weed/command/watch.go
index 3bee0eabe6..fd7dd6fb22 100644
--- a/weed/command/watch.go
+++ b/weed/command/watch.go
@@ -101,7 +101,7 @@ func runWatch(cmd *Command, args []string) bool {
if !shouldPrint(resp) {
continue
}
- fmt.Printf("%+v\n", resp.EventNotification)
+ fmt.Printf("dir:%s %+v\n", resp.Directory, resp.EventNotification)
}
})