Skip to content

Commit

Permalink
[ZOOKEEPER-4831] update slf4j from 1.x to 2.0.13, logback to 1.3.14 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shoothzj committed May 11, 2024
1 parent 9b81d10 commit 66202cb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -550,8 +550,8 @@
<redirectTestOutputToFile>true</redirectTestOutputToFile>

<!-- dependency versions -->
<slf4j.version>1.7.30</slf4j.version>
<logback-version>1.2.13</logback-version>
<slf4j.version>2.0.13</slf4j.version>
<logback-version>1.3.14</logback-version>
<audience-annotations.version>0.12.0</audience-annotations.version>
<jmockit.version>1.48</jmockit.version>
<junit.version>5.6.2</junit.version>
Expand Down
Expand Up @@ -436,7 +436,7 @@ in the unlikely event a recent log has become corrupted). This
can be run as a cron job on the ZooKeeper server machines to
clean up the logs daily.

java -cp zookeeper.jar:lib/slf4j-api-1.7.30.jar:lib/logback-classic-1.2.10.jar:lib/logback-core-1.2.10.jar:conf org.apache.zookeeper.server.PurgeTxnLog <dataDir> <snapDir> -n <count>
CLASSPATH='lib/*:conf' java org.apache.zookeeper.server.PurgeTxnLog <dataDir> <snapDir> -n <count>


Automatic purging of the snapshots and corresponding
Expand Down
4 changes: 2 additions & 2 deletions zookeeper-server/src/main/resources/LICENSE.txt
Expand Up @@ -210,6 +210,6 @@ This distribution bundles jline 2.14.6, which is available under the
2-clause BSD License. For details, see a copy of the license in
lib/jline-2.14.6.LICENSE.txt

This distribution bundles SLF4J 1.7.30, which is available under the MIT
This distribution bundles SLF4J 2.0.13, which is available under the MIT
License. For details, see a copy of the license in
lib/slf4j-1.7.30.LICENSE.txt
lib/slf4j-2.0.13.LICENSE.txt
Expand Up @@ -48,7 +48,7 @@ public class ReconfigExceptionTest extends ZKTestCase {
// Use DigestAuthenticationProvider.base64Encode or
// run ZooKeeper jar with org.apache.zookeeper.server.auth.DigestAuthenticationProvider to generate password.
// An example:
// java -cp zookeeper.jar:lib/slf4j-api-1.7.30.jar:lib/logback-classic-1.2.10.jar:lib/logback-core-1.2.10.jar:conf
// CLASSPATH='lib/*:conf' java
// org.apache.zookeeper.server.auth.DigestAuthenticationProvider super:test
// The password here is 'test'.
private static String superDigest = "super:D/InIHSb7yEEbrWz8b9l71RjZJU=";
Expand Down

0 comments on commit 66202cb

Please sign in to comment.