This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.14 by this push:
     new 789cb3305 refactor: make some log level to debug to reduce (#3775) 
(#3783)
789cb3305 is described below

commit 789cb330572892d0efaf7132fa7ac61f89c3b1eb
Author: long2ice <[email protected]>
AuthorDate: Wed Nov 23 10:28:00 2022 +0800

    refactor: make some log level to debug to reduce (#3775) (#3783)
---
 plugins/starrocks/tasks.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/starrocks/tasks.go b/plugins/starrocks/tasks.go
index 841fc1f66..6705dbfc9 100644
--- a/plugins/starrocks/tasks.go
+++ b/plugins/starrocks/tasks.go
@@ -216,7 +216,7 @@ func createTmpTable(starrocks *sql.DB, db dal.Dal, 
starrocksTmpTable string, tab
                }
        }
        tableSql := fmt.Sprintf("drop table if exists %s; create table if not 
exists `%s` ( %s ) %s", starrocksTmpTable, starrocksTmpTable, 
strings.Join(columns, ","), extra)
-       c.GetLogger().Info(tableSql)
+       c.GetLogger().Debug(tableSql)
        _, err = errors.Convert01(starrocks.Exec(tableSql))
        return columnMap, orderBy, err
 }
@@ -327,7 +327,7 @@ func loadData(starrocks *sql.DB, c core.SubTaskContext, 
starrocksTable, starrock
                if result["Status"] != "Success" {
                        c.GetLogger().Error(nil, "load %s failed: %s", table, 
string(b))
                } else {
-                       c.GetLogger().Info("load %s success: %s, limit: %d, 
offset: %d", table, b, config.BatchSize, offset)
+                       c.GetLogger().Debug("load %s success: %s, limit: %d, 
offset: %d", table, b, config.BatchSize, offset)
                }
                offset += len(data)
        }

Reply via email to