diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-20 15:38:59 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-20 15:38:59 -0700 |
| commit | d013d09a9be3fd6a9eea2da6b01d6991d777ba93 (patch) | |
| tree | 9cf955391f974fc90377eeedd973e4ca964b17ae /weed/command/s3.go | |
| parent | f498c71199069b3c6b9719417438b56189889dd8 (diff) | |
| download | seaweedfs-d013d09a9be3fd6a9eea2da6b01d6991d777ba93.tar.xz seaweedfs-d013d09a9be3fd6a9eea2da6b01d6991d777ba93.zip | |
adjust logging
Diffstat (limited to 'weed/command/s3.go')
| -rw-r--r-- | weed/command/s3.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go index ca1b06d3f..a9b317138 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -153,10 +153,7 @@ func (s3opt *S3Options) startS3Server() bool { } } - glog.V(0).Infof("s3 server sends metrics to %s every %d seconds", metricsAddress, metricsIntervalSec) - if metricsAddress != "" && metricsIntervalSec > 0 { - go stats_collect.LoopPushingMetric("s3", stats_collect.SourceName(uint32(*s3opt.port)), stats_collect.S3Gather, metricsAddress, metricsIntervalSec) - } + go stats_collect.LoopPushingMetric("s3", stats_collect.SourceName(uint32(*s3opt.port)), stats_collect.S3Gather, metricsAddress, metricsIntervalSec) router := mux.NewRouter().SkipClean(true) |
