diff --git a/kernel/model/repository.go b/kernel/model/repository.go index 45474dd5a..af27440d7 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -1167,8 +1167,8 @@ func syncRepo(exit, byHand bool) (err error) { msg := fmt.Sprintf(Conf.Language(150), trafficStat.UploadFileCount, trafficStat.DownloadFileCount, trafficStat.UploadChunkCount, trafficStat.DownloadChunkCount, humanize.Bytes(uint64(trafficStat.UploadBytes)), humanize.Bytes(uint64(trafficStat.DownloadBytes))) Conf.Sync.Stat = msg autoSyncErrCount = 0 - logging.LogInfof("synced data repo [provider=%d, ufc=%d, dfc=%d, ucc=%d, dcc=%d, ub=%s, db=%s] in [%.2fs]", - Conf.Sync.Provider, trafficStat.UploadFileCount, trafficStat.DownloadFileCount, trafficStat.UploadChunkCount, trafficStat.DownloadChunkCount, humanize.Bytes(uint64(trafficStat.UploadBytes)), humanize.Bytes(uint64(trafficStat.DownloadBytes)), elapsed.Seconds()) + logging.LogInfof("synced data repo [kernel=%s, provider=%d, ufc=%d, dfc=%d, ucc=%d, dcc=%d, ub=%s, db=%s] in [%.2fs]", + kernelID, Conf.Sync.Provider, trafficStat.UploadFileCount, trafficStat.DownloadFileCount, trafficStat.UploadChunkCount, trafficStat.DownloadChunkCount, humanize.Bytes(uint64(trafficStat.UploadBytes)), humanize.Bytes(uint64(trafficStat.DownloadBytes)), elapsed.Seconds()) processSyncMergeResult(exit, byHand, start, mergeResult) return diff --git a/kernel/model/sync.go b/kernel/model/sync.go index a32499808..b9f7a7513 100644 --- a/kernel/model/sync.go +++ b/kernel/model/sync.go @@ -689,7 +689,7 @@ func connectSyncWebSocket() { return } - logging.LogInfof("connecting sync websocket...") + //logging.LogInfof("connecting sync websocket...") var dialErr error webSocketConn, dialErr = dialSyncWebSocket() if nil != dialErr {