Controlling "server.log" file size in JBoss 7

Discussion in 'Linux Networking' started by khemslatha, Apr 10, 2014.

  1. khemslatha

    khemslatha Guest


    I am using JBoss7 and we are getting server.log on a daily basis by default.

    Since the file size is growing, we want that server.log file to be rotated based on file-size.

    This should mean that whenever the server.log file will grow in size more than 100K, a new server.log file will be created and I will have at most 5 such "server.log" files like "server.log.1, server.log.2, server.log.3, etc.".

    For that I did not find any log4j properties file but found file where the following lines were updated but still having a single occurrence of "server.log" file (as before) which grows in size as time goes on.


    Please any one suggest if I am missing any step here or any other file need to be configured for this.

    Thanks in advance
    khemslatha, Apr 10, 2014
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.