BladePipe 1.10.0: Support Google Ads and more, improve SAP HANA source CDC performance.
跳到主要内容

Logging in Custom Code

This article introduces how to print logs in BladePipe Custom Code.

Procedure​

  1. Add the following logger to the Custom Code.
    protected static final Logger customLogger = LoggerFactory.getLogger("custom_processor");
    custom_code_log_3
  2. Upload Custom Code jar and run DataJob.
  3. After the DataJob is running, view the log content in the BladePipe Cloud ( Details > Log > custom_process.log ), or go to the DataTask log directory to view the log content in log file. custom_code_log_1