Questions tagged [jboss-logging]

JBoss Logging is a logging facade library which includes support for internationalized logging by way of an annotated interface mechanism. These interfaces are designed to be used as input into build tools which generate classes that implement them, using various string translations.

87 questions
123
votes
11 answers

How do you configure logging in Hibernate 4 to use SLF4J

Hibernate 3.x used slf4j for logging. Hibernate 4.x uses jboss-logging. I am writing a standalone application which uses Hibernate 4, and SLF4J for logging. How can i configure Hibernate to log to SLF4J? If that's not possible, how can i configure…
Tom Anderson
  • 46,189
  • 17
  • 92
  • 133
7
votes
6 answers

NoSuchMethodError: org.jboss.logging.Logger.debugf

I'm trying to make a stack Spring + Spring Data + Log4J2 work. Unfortunately, when deploying the artefact on My Glassfish 4.1 Server, the following error occurs : org.springframework.beans.factory.BeanCreationException: Error creating bean with…
Florian Tavares
  • 243
  • 2
  • 3
  • 6
6
votes
2 answers

JBoss Logging for Java Unit Test?

I've inherited some java code that uses the JBoss Logging implementation explicitly. I know that this is normally configured as a JBoss Subsytem, and I'm able to observe various log tuning operations just fine when running on the server. However,…
josh-cain
  • 4,997
  • 7
  • 35
  • 55
5
votes
1 answer

How to switch Hibernate from jboss-logging to logback?

I found, that my hibernate dependency caused dependency on jboss-logging in turn. Is it possible to switch to logback logging, which I am already use? UPDATE I have tried three places to set org.jboss.logging.provider: 1) Lassing to JPA properties…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
5
votes
3 answers

How to use JBoss logging brought by Hibernate?

I am writing standalone java application which is using Hibernate. Maven brought jboss-logging library for me. I am not using JBoss. The question is: can I log with this library only, or I need to download some logging implementation like log4j?
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
4
votes
1 answer

Quarkus Logging transaction id

My application has several JAX-RS API, all of them are getting a transaction id as header, is there way we can access transaction id into Jboss Logger? we tried MDC but does that not help. Basically I am looking efficient way to add transaction id…
CodeDCode
  • 390
  • 5
  • 17
4
votes
2 answers

How to avoid Classloader Leak with JPA, Hibernate and Spring on Tomcat

The Open J2EE Web Template is a showcase application for wicket - JPA with Spring and Hibernate that runs on a Tomcat7 servlet container. Its Maven build script appears to use the components in a standard way. However, it is affected by an…
user250343
  • 1,163
  • 1
  • 15
  • 24
4
votes
1 answer

How to remove meaningless codes (HHH000...) from hibernate logs

I am trying new version of Hibernate (I have used 3.x so far) and Hibernate switched to jboss-logging for whatever reason. This is something I could easily live with, but I like to keep my logs clean and readable and it inserts codes into log…
František Hartman
  • 14,436
  • 2
  • 40
  • 60
3
votes
1 answer

Hibernate 4.3.6 logging not working with log4j2

I simply cannot get hibernate to log anything with the following configuration: org.apache.logging.log4j log4j-api 2.0.2
sha
  • 614
  • 6
  • 16
3
votes
1 answer

Log4j2 Error Handling

Since I discovered some performance issues with log4j 1.2.x, I tried migrating to log4j2. Now I encountered a problem for which I can't find a solution. I have to rewrite the configuration file that was for log4j 1.2.x into a v2 compatible…
Ciobanu Andrei
  • 315
  • 3
  • 14
3
votes
3 answers

logback level ignored when logs come from jboss-logging

My web application (deployed on tomcat 7) is using hibernate 4.2 which logs using jboss-logging. Jboss logging is finding slf4j on the path and uses it. In turn, I have logback-classic to output the logs. Everything works nicely, but I cannot…
3
votes
1 answer

jboss as 7.1.1 final logging

I have an ear that has a war as a sub deployment. The ear file has a META-INF directory that has a jboss-ejb-client.xml file which just has a ejb-recievers element and a webscheduler.war. This war uses the commons-logging-api.jar. This application…
TYS
  • 195
  • 1
  • 5
  • 16
2
votes
1 answer

java - jboss logmanager breaks json format of my application json-logs from log4j2 by escaping quotes

Context is: I have switched from logging to file as text towards logging to stdout as json, to send the log messages as parsable json-logs to the elastic stack with kibana. The wildfly server (version 22.0.1.Final or 26.1.3.Final) uses the jboss…
Ferdi
  • 23
  • 4
2
votes
0 answers

org.jboss.logging.Logger + Quarkus Framework + Log File Configuration Issue

I have been traying to generate a Log file with the fallowing configuration, (suggested by Quarkus https://quarkus.io/guides/logging): application.properties…
J2RE
  • 31
  • 7
2
votes
2 answers

How to find deeply layered usages of Log4j

I want to find all usages of log4j prior to the current version (2.15.0). I tried using maven's "mvn dependency:tree", used several tools (dependency-check, grype (didn't work for me), syft (didn't work for me), log4j-detector) but they only list…
Saph1r0
  • 41
  • 3
1
2 3 4 5 6