8 Replies Latest reply on Mar 6, 2010 5:52 AM by jaikiran pai

    How to add entry for GC logs in log4j in Jboss?

    Ajeet Raina Newbie

      Hello Guys,

       

      I have been facing this issue since past 1 week and have no idea how o fix the issue.

      The Issue is occurign in the production server and gc log gets over-provisioned with more than > 3 GB everyday.

      the GC logs, as of now, is being provision through a run.conf and we are rotating it through logrotate.

      All I need to put entry for GC in log4j so that FileAppender option could be put to remove those unusual characters like ^@^@ at the start of log file.

       

      Anyone who can help configuring GC log in log4j rather than simple run.conf and logrotate.