You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramachandran (Jira)" <ji...@apache.org> on 2022/09/19 17:13:00 UTC

[jira] [Comment Edited] (RANGER-3775) Logback.xml has been incorrectly modified by RANGER-3704.

    [ https://issues.apache.org/jira/browse/RANGER-3775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606672#comment-17606672 ] 

Ramachandran edited comment on RANGER-3775 at 9/19/22 5:12 PM:
---------------------------------------------------------------

[~bpatel]/[~kirbyzhou]   As part of RANGER-2162 [~pradeepagrawal8184]  upgraded  c3p0 libraries

from 
{code:java}
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
</dependency>{code}
to
{code:java}
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
</dependency>{code}
So it makes sense the corresponding changes were done in the logback.xml in the later commits.

 


was (Author: JIRAUSER295265):
[~bpatel]/[~kirbyzhou]   As part of RANGER-2162 [~pradeepagrawal8184]  upgraded  c3p0 libraries

from 
{code:java}
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
</dependency>{code}
to
{code:java}
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>${c3p0.version}</version>
</dependency>{code}
So it makes change the corresponding changes were done in the logback.xml in the later commits.

 

> Logback.xml has been incorrectly modified by RANGER-3704.
> ---------------------------------------------------------
>
>                 Key: RANGER-3775
>                 URL: https://issues.apache.org/jira/browse/RANGER-3775
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: 3.0.0
>            Reporter: kirby zhou
>            Priority: Critical
>
> {code:java}
> git show 361f179249 | filterdiff -i '*/logback.xml'
> diff --git a/security-admin/src/main/webapp/WEB-INF/logback.xml b/security-admin/src/main/webapp/WEB-INF/logback.xml
> index 997f3bc59..53cdc49cf 100644
> --- a/security-admin/src/main/webapp/WEB-INF/logback.xml
> +++ b/security-admin/src/main/webapp/WEB-INF/logback.xml
> @@ -80,7 +80,7 @@
>    <logger name="xa" additivity="false" level="info">
>      <appender-ref ref="xa_log_appender"/>
>    </logger>
> -  <logger name="jdbc.connection" additivity="false" level="error">
> +  <logger name="com.mchange" additivity="false" level="error">
>      <appender-ref ref="sql_appender"/>
>    </logger>
>    <logger name="org.apache.ranger.perf" additivity="false" level="info"> {code}
> These changes seems not related to the issue RANGER-3704.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)