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
0
votes
0 answers

MDC content is not printed via log4j2-jboss-logmanager on quarkus

I want to put a content into "org.jboss.logging.MDC" and make available in logging via log4j2, but value is not showable only for log4j2. I also tried "java.util.logging.Logger" and "org.jboss.logging.Logger". These can show MDC content fine in…
C. Bilgin
  • 65
  • 6
0
votes
0 answers

How to add traceId in Keycloak logs?

I want to have traceId in keycloak logs, as you can see this is my logging configuration for keycloak:
Rasool Ghafari
  • 4,128
  • 7
  • 44
  • 71
0
votes
1 answer

ERROR: Wildfly26 - java.lang.IllegalStateException: The LogManager was not properly installed

Starting wildfly local from IntelliJ or command line throws the below error. java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to…
0
votes
1 answer

Multiple logging profiles in jboss eap 7.1

we have an application with several RESTful services implemented. All these services are bundled into one big war file. Due to infrastructure constraints, we cannot go for microservice design. Since this is one big app with multiple REST APIs, all…
alex
  • 21
  • 1
  • 5
0
votes
1 answer

JBoss logging subsystem configuration define lower level logger for a specific package

Is it possible in JBoss logging subsystem configuration to set root log level to "INFO" and to define lower level such as "DEBUG" for a specific package ?
Sinda MOKADDEM
  • 796
  • 2
  • 12
  • 35
0
votes
2 answers

Logging Additional Fields in Quarkus with JSON

I am currently attempting to change our logs format in Quarkus from String to JSON with some additional fields that are important for our monitoring and data analysis in elastic/kibana. So far I have added this dependency as specified in the…
morpheus
  • 1
  • 1
0
votes
0 answers

Quarkus logging conflict between log4j-core and jboss log manager

I am having an issue with logging information for some of the microservices running on Quarkus. Some of the projects have the below settings in the build.gradle: implementation 'org.apache.logging.log4j:log4j-core' runtimeOnly…
0
votes
1 answer

ActiveMQ Artemis logging format as JSON

I'm using ActiveMQ Artemis 2.20.0, and I require logs in JSON format. I tried to use a JSON formatter in the logging.properties file but I get an error The following is the change I made to logging.properties # File handler…
0
votes
1 answer

What is the design of JBoss log manager design in wildfly 17?

From the documentation I understand that it supports multiple frameworks like log4j, log4jv2 and slf4j. log4j/log4jv2/slf4j are only the API interfaces and the actual logging will be done by the jboss-logmanager classes located in the…
0
votes
0 answers

Wildfly stack trace logging format prepends war name

I have recently upgraded Wildfly server version from wildfly-10.1.0.Final to wildfly-24.0.0.Final, post that I could see a logging message format change specifically for error stack-trace. The war filename gets prefixed in every line of stack trace…
Prasanth Rajendran
  • 4,570
  • 2
  • 42
  • 59
0
votes
1 answer

Apache Artemis logging to rotate log files

In installed Artemis broker logging.properties, i have included below configuration to setup log rotate # File handler…
Tim
  • 1,321
  • 1
  • 22
  • 47
0
votes
1 answer

Is there is a way to set up google cloud logging for quarkus?

The only thing stopping me from using quarkus on my projects is the lack of google cloud logging support. https://cloud.google.com/logging/docs/setup/java Because google cloud logging use Logback appender for cloud logging, and quarkus use JBoss…
0
votes
0 answers

possibility to add the category within the message?

Currently, I must use this: Messages msg = Logger.getMessageLogger(Messages.class, "org.messages"); With this approach, I lost the information in which class the logger was called (therefore it is normally recommended to use one logger per…
nimo23
  • 5,170
  • 10
  • 46
  • 75
0
votes
1 answer

MESSAGE_FORMAT with {x.y}

How can I add the string value of the property (from a User-instance) within the message format? // I want to access a property from the user and put it into the message @Message(value = "the user: {user.id} - {user.name}", format =…
nimo23
  • 5,170
  • 10
  • 46
  • 75
0
votes
1 answer

@MessageLogger and @MessageBundle

I use jboss-logging. According to https://jboss-logging.github.io/jboss-logging-tools/#message-bundle-interfaces, there the two types: @MessageLogger for log messages @MessageBundle for exceptions and string messages I don't know how this is…
nimo23
  • 5,170
  • 10
  • 46
  • 75