You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "mashengchen (JIRA)" <ji...@apache.org> on 2018/12/07 12:24:00 UTC

[jira] [Updated] (TRAFODION-3246) jdbc support slf4j

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

mashengchen updated TRAFODION-3246:
-----------------------------------
    Description: 
jdbc log is a little hard to use , each time add log , there needs to add almost 10 rows code.

also , it's recommend to use slf4j as facade in project.

jdbc could add this facade by do another jar package (named jdbc-version-with-slf4j.jar),  the new jar package will have slf4j+jdk for user who only use jdbc (no other log type used by slf4j ),

and the original just use  slf4j for compile, it print log dependent on user project

 

  was:
jdbc log is a little hard to use , each time add log , there needs to add almost 10 rows code.

also , it's recommend to use slf4j as facade in project.

jdbc could add this facade by do another jar package (named jdbc-version-with-slf4j.jar),  the new jar package will have slf4j+jdk for user who only use jdbc (no other log type used by slf4j ),

and the original just add slf4j as facade, it print log dependent on user project

 


> jdbc support slf4j
> ------------------
>
>                 Key: TRAFODION-3246
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3246
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-jdbc-t4
>    Affects Versions: 2.4
>            Reporter: mashengchen
>            Assignee: mashengchen
>            Priority: Major
>             Fix For: 2.4
>
>
> jdbc log is a little hard to use , each time add log , there needs to add almost 10 rows code.
> also , it's recommend to use slf4j as facade in project.
> jdbc could add this facade by do another jar package (named jdbc-version-with-slf4j.jar),  the new jar package will have slf4j+jdk for user who only use jdbc (no other log type used by slf4j ),
> and the original just use  slf4j for compile, it print log dependent on user project
>  



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