You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/07 12:39:00 UTC
[jira] [Commented] (TRAFODION-3246) jdbc support slf4j
[ https://issues.apache.org/jira/browse/TRAFODION-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712788#comment-16712788 ]
ASF GitHub Bot commented on TRAFODION-3246:
-------------------------------------------
GitHub user mashengchen opened a pull request:
https://github.com/apache/trafodion/pull/1757
[TRAFODION-3246] add slf4j in jdbc
add a new jar which can use slf4j to print log
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mashengchen/trafodion TRAFODION-3246
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1757.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1757
----
commit 41998b903a270f663b23deca50f153798fd6e169
Author: Aven <sh...@...>
Date: 2018-12-07T12:34:45Z
[TRAFODION-3246] add slf4j in jdbc
----
> 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)