JBoss Community

EAP jboss log.txt getting too large

created by Ramanathan Lakshmanan in JBoss AS 7 Development - View the full discussion

I'm developing Struts 2 application and deploying that as war on EAP Jboss 6. At the beginning of development nothing gone wrong. But recently i realized that my disk space is grtting full because of log.txt file . When searching on web about this got lot of discussions but nothing helped me. From one post i tried to exclude log4j lib from the 'deployment-structure.xml' but nothing happened. Then i gone through standalone.xml file i found on subsystem tag which is subsystem xmlns="urn:jboss:domain:logging:1.1". i removed that completely and deleted log.txt from that location. Now file is not created. Then tried different things on that tag each time log.txt file was created and lo was getting populated. I tried log4j.properties in my project but file was created not populated.Now i could understand that the subsystem xmlns="urn:jboss:domain:logging:1.1" line calls the inbuilt jar file and a class from that jar creates the file. So please let me know where is that jar file actually located. I attached my log4j.properties with this query.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community