JBoss 7.4 logs writing to same file

Posted on

We have migrated application server JBoss from version 7.0 to 7.4

The application is comprised of different jar and war modules.

In the version 7.0, the logs for different modules used to get written in different files, respectively, and JBoss related log were recorded in server log.

In the version 7.4, the logs for different modules get written to different files as before but are also written in server.log. This causes to increase the size of server log file a lot.

Since the application is deployed on AWS, the increased size of server log is causing the issue as the logs get rotated and file gets emptied as soon as the file size is reached to 100mb.

Is there a way to know how we can avoid all the logs getting written to server log file.