Translated message

A translation of this page exists in English.

JBoss EAP에 배포된 어플리케이션에서 LogBack을 사용할 수 있나요?

Solution Verified - Updated -

Issue

  • 우리는 application에서 Logback을 사용하고자 설정 했습니다. 이와 함께 SLF4J를 사용하여 모든 로그들을 Logback으로 라우팅하고자 시도하였습니다. 하지만, JBoss는 자체적으로 JBoss LogManager (java.util.logging에서 확장된)로 라우팅하기 위한 SLF4J버전을 사용하는 것으로 보입니다.
    우리의 어플리케이션 종속성 중 하나는 java.util.logging 사용하고, JBoss는 jul-to-slf4j stub을 갖고 있습니다. 어떻게 해결 해야 할까요?
  • slf4j-simple은 제공된 eap maven repository에서 찾을 수 없습니다.
  • EAP 설치를 6.2에서 6.3으로 업데이트 하는 동안 "jboss-as-parent-7.4.0.Final-redhat-19.pom" 파일에서 "org.slf4j"의 버전도 업데이트 되었습니다. 해당 업데이트는 "1.7.2.redhat-2"에서 "1.7.2.redhat-3"로 업그레이드 되었습니다. "1.7.2.redhat-3" 버전에서는 우리가 사용중인 "slf4j-simple" jar 파일이 존재하지 않습니다. eap maven repository에도 포함하고 있지 않습니다. 이 jar file을 제공해주실 수 있을까요? 혹은 제공된 "1.7.2.redhat-2" 버전의 jar를 사용해야 할까요?
  • 우리는 "LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation"와 같은 에러메세지를 확인하였습니다. 어떻게 수정할 수 있을까요?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content