hailin0 commented on code in PR #3745:
URL: 
https://github.com/apache/incubator-seatunnel/pull/3745#discussion_r1052800041


##########
seatunnel-connectors-v2/connector-console/src/main/java/org/apache/seatunnel/connectors/seatunnel/console/sink/ConsoleSinkWriter.java:
##########
@@ -40,8 +42,7 @@ public class ConsoleSinkWriter extends 
AbstractSinkWriter<SeaTunnelRow, Void> {
     public ConsoleSinkWriter(SeaTunnelRowType seaTunnelRowType, 
SinkWriter.Context context) {
         this.seaTunnelRowType = seaTunnelRowType;
         this.context = context;
-        System.out.printf("fields : %s%n", 
StringUtils.join(seaTunnelRowType.getFieldNames(), ", "));
-        System.out.printf("types : %s%n", 
StringUtils.join(seaTunnelRowType.getFieldTypes(), ", "));
+        log.info("fields info: {}", fieldsInfo(seaTunnelRowType));

Review Comment:
   ```suggestion
           log.info("output rowType: {}", fieldsInfo(seaTunnelRowType));
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to