0 Replies Latest reply on Oct 13, 2009 6:04 AM by Bala Karthik

    Log4j/Jboss - How to limit the number of lines printed as pa

    Bala Karthik Newbie


      For every category,say for a jsp compilation error,the number of lines printed for an error is about 300-400 lines and this is making up the log file to grow at a huge rate.

      This is posing a potential risk of bringing down the jboss application instance and when there is a dynamic content that has a compliation error,the instance comes down very soon in the production envt.Although the first 10-20 lines would give an idea about the error,the remaining lines are not needed and am looking for some configuartion to tweak the number of lines printed.

      Is there a way/log4j configuration to limit the number of lines printed in the logs as part of the stack trace?