We're working on a migration of our application from WebSphere to JBoss EAP 6.4. I read on the Internet that since JBoss EAP 6.x, JBoss use its own logging framework called JBoss Logging instead of log4j previously.
We have already a log4j.properties file for application specific logs, which store logs in separate files according the log level (log-error.log, log-info.log, ...), but actually, they are also logged in the console and in the server.log file.
In the one hand, we would like application logs to be logged only with our existing log4j.properties configuration file, but also prevent them to be logged in server.log and console too.
In the other hand, we would like server specific logs to be logged with JBoss Logging framework, so in the server.log and in the console.
To sum up, we want to go from :
application logs + server logs => server.log/console + separate file logs
To this :
application logs => seperate file logs
server logs => server.log/console
Does somebody know how to achieve this ? Does anyone have already configured a JBoss server in a similar way ?
Thanks you,
Regards.