Where are jBoss logs located?

We will shortly discuss where JBoss EAP / WildFly logs are located. The location of JBoss logs basically depends on which mode you are using to start the application server. When running in standalone mode, JBoss logs are located in the standalone/log folder: As you can see, the currently running server has created the server.log … Read more

How to use Log4j2 in your WildFly applications

Log4j2 is the latest major release of the popular Logging Framework. In this tutorial we will learn how to include Log4j2 configuration file and use it in your deployments running on WildFly. Log4j2 borrows some concepts from the Logback framework, which can be assimilated to an improved version of the older Log4j release. According to … Read more

How to configure log4j in your ear ?

This article is now obsolete. We recommend checking these resources to learn bout log4j configuration with JBoss / WildFly: How to use Log4j2 in your WildFly applications Using Log4J with WildFly and JBoss EAP Have you got exceptions when tried to configure log4j at application level ? this is due to the fact that JBoss ships … Read more

Create a Custom Camel logging handler for WildFly

A Custom logging handler allows you to define a custom destination for your WildFly / JBoss AS 7 server logging events. You would typically define a custom hanlder to log to a Socket, a Database, to a remote location or a JMS Queue. In this tutorial we will learn how to base your custom handler … Read more

5 Loggers in WildFly you should know about

in WildFly and JBoss EAP Loggers are used to log messages by defining a category generally consisting of a package name or a class name. In short, they can let you customize the logging events for a package or Class name. We will see 5 Loggers which I’ve found pretty useful in my work. org.jboss.remoting.remote … Read more

Use Camel to handle your WildFly logs

Many of you have heard about Camel rule based and mediation engine. On this tutorial we will show how to unleash its power to handle the logs from WildFly 9! First of all, if you need a quickstart tutorial about Camel here is an Hello World Camel quickstart In order to trigger Came routes, we will … Read more

Using a Logger for a specific application (EAP 6 and WildFly)

A common requirement for many applications is to use a specific logger to trace log events. In this recipe we will learn how to use Logging profiles to define a logger that can be activated at application level. This tutorial can be used with JBoss EAP 6.2 (and higher) and WildFly application server. Let’s start … Read more

How do you set logging verbosity with JBoss 5 ?

The amount of logging is controlled by categories. Categories are named entities, which follow a hierarchical naming rule similar to Java packages. For example, the category named com.sample is a parent of the category named com.sample.Test . Similarly, java is a parent of java.util and an ancestor of java.util.Vector. Let’s see some samples of categories: … Read more

Using Log4J with WildFly and JBoss EAP

Using log4j with WildFly / JBoss EAP is pretty simple and just requires some basic configuration steps. In this tutorial you will learn how to configure it in a simple application that will be deployed on WildFly. WildFly Log4j configuration Using Log4j with Wildfly is quite easy. Step #1: Include Log4j dependency in your pom.xml … Read more