[jira] [Updated] (AIRFLOW-3139) Include parameters into log.info for SQL-operators if any

2018-10-02 Thread Xiaodong DENG (JIRA)


 [ 
https://issues.apache.org/jira/browse/AIRFLOW-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaodong DENG updated AIRFLOW-3139:
---
Description: 
For SQL-operators based on {color:#a6e22e}DbApiHook{color}, like 
SqliteOperator, PostgresOperator, the SQL command itself will be printed into 
log INFO.

But if parameters are used for the sql command, the parameters are not printed. 
This makes the logging less useful.

 

*Example:*

!Screen Shot 2018-10-02 at 3.24.21 PM.png|width=818,height=61!

 

  was:
For SQL-operators based on {color:#a6e22e}DbApiHook{color}, like 
SqliteOperator, PostgresOperator, the SQL command itself will be printed into 
log INFO.

But if parameters are used for the sql command, the parameters are not printed. 
This makes the printing useless.

 

*Example:*

!Screen Shot 2018-10-02 at 3.24.21 PM.png|width=818,height=61!

 


> Include parameters into log.info for SQL-operators if any
> -
>
> Key: AIRFLOW-3139
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3139
> Project: Apache Airflow
>  Issue Type: Improvement
>  Components: operators
>Reporter: Xiaodong DENG
>Assignee: Xiaodong DENG
>Priority: Minor
> Attachments: Screen Shot 2018-10-02 at 3.24.21 PM.png
>
>
> For SQL-operators based on {color:#a6e22e}DbApiHook{color}, like 
> SqliteOperator, PostgresOperator, the SQL command itself will be printed into 
> log INFO.
> But if parameters are used for the sql command, the parameters are not 
> printed. This makes the logging less useful.
>  
> *Example:*
> !Screen Shot 2018-10-02 at 3.24.21 PM.png|width=818,height=61!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (AIRFLOW-3139) Include parameters into log.info for SQL-operators if any

2018-10-02 Thread Xiaodong DENG (JIRA)


 [ 
https://issues.apache.org/jira/browse/AIRFLOW-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaodong DENG updated AIRFLOW-3139:
---
Description: 
For SQL-operators based on {color:#a6e22e}DbApiHook{color}, like 
SqliteOperator, PostgresOperator, the SQL command itself will be printed into 
log INFO.

But if parameters are used for the sql command, the parameters are not printed. 
This makes the printing useless.

 

*Example:*

!Screen Shot 2018-10-02 at 3.24.21 PM.png|width=818,height=61!

 

  was:
For SQL-operators based on {color:#a6e22e}DbApiHook{color}, like 
SqliteOperator, PostgresOperator, the SQL command itself will be printed into 
log INFO.

But if parameters are used for the sql command, the parameters are not printed. 
This makes the printing useless.

 

*Example:*

!Screen Shot 2018-10-02 at 3.24.21 PM.png!

 


> Include parameters into log.info for SQL-operators if any
> -
>
> Key: AIRFLOW-3139
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3139
> Project: Apache Airflow
>  Issue Type: Improvement
>  Components: operators
>Reporter: Xiaodong DENG
>Assignee: Xiaodong DENG
>Priority: Minor
> Attachments: Screen Shot 2018-10-02 at 3.24.21 PM.png
>
>
> For SQL-operators based on {color:#a6e22e}DbApiHook{color}, like 
> SqliteOperator, PostgresOperator, the SQL command itself will be printed into 
> log INFO.
> But if parameters are used for the sql command, the parameters are not 
> printed. This makes the printing useless.
>  
> *Example:*
> !Screen Shot 2018-10-02 at 3.24.21 PM.png|width=818,height=61!
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)