Skip to content

Commit

Permalink
build(deps): bump slf4j.version from 1.7.36 to 2.0.0 (#1730)
Browse files Browse the repository at this point in the history
* build(deps): bump slf4j.version from 1.7.36 to 2.0.0

Bumps `slf4j.version` from 1.7.36 to 2.0.0.

Updates `slf4j-simple` from 1.7.36 to 2.0.0
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](qos-ch/slf4j@v_1.7.36...v_2.0.0)

Updates `slf4j-nop` from 1.7.36 to 2.0.0
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](qos-ch/slf4j@v_1.7.36...v_2.0.0)

Updates `slf4j-api` from 1.7.36 to 2.0.0
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](qos-ch/slf4j@v_1.7.36...v_2.0.0)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: org.slf4j:slf4j-nop
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update package names for slf4j 2

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
Co-authored-by: Marvin Froeder <marvin.froeder@dovetailstudios.com>
  • Loading branch information
3 people authored Sep 15, 2022
1 parent 4cda01b commit 8741737
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<guava.version>31.1-jre</guava.version>
<googlehttpclient.version>1.42.2</googlehttpclient.version>
<gson.version>2.9.1</gson.version>
<slf4j.version>1.7.36</slf4j.version>
<slf4j.version>2.0.0</slf4j.version>
<bouncy.version>1.70</bouncy.version>
<json.version>20220320</json.version>

Expand Down
12 changes: 6 additions & 6 deletions slf4j/src/test/java/feign/slf4j/Slf4jLoggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
*/
package feign.slf4j;

import java.util.Collection;
import java.util.Collections;
import org.junit.Rule;
import org.junit.Test;
import org.slf4j.LoggerFactory;
import org.slf4j.impl.RecordingSimpleLogger;
import feign.Feign;
import feign.Logger;
import feign.Request;
import feign.Request.HttpMethod;
import feign.RequestTemplate;
import feign.Response;
import feign.Util;
import java.util.Collection;
import java.util.Collections;
import org.junit.Rule;
import org.junit.Test;
import org.slf4j.LoggerFactory;
import org.slf4j.simple.RecordingSimpleLogger;

@SuppressWarnings("deprecation")
public class Slf4jLoggerTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
package org.slf4j.impl;
package org.slf4j.simple;

import org.junit.rules.TestRule;
import org.junit.runner.Description;
Expand All @@ -20,8 +20,8 @@
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import static org.junit.Assert.assertEquals;
import static org.slf4j.impl.SimpleLogger.DEFAULT_LOG_LEVEL_KEY;
import static org.slf4j.impl.SimpleLogger.SHOW_THREAD_NAME_KEY;
import static org.slf4j.simple.SimpleLogger.DEFAULT_LOG_LEVEL_KEY;
import static org.slf4j.simple.SimpleLogger.SHOW_THREAD_NAME_KEY;

/**
* A testing utility to allow control over {@link org.slf4j.impl.SimpleLogger}. In some cases,
Expand Down

0 comments on commit 8741737

Please sign in to comment.