[jboss-dev-forums] [JBoss AS 7 Development] - EAP jboss log.txt getting too large

Ramanathan Lakshmanan do-not-reply at jboss.com
Tue Jan 1 12:04:39 EST 2013


Ramanathan Lakshmanan [https://community.jboss.org/people/ars.ram] created the discussion

"EAP jboss log.txt getting too large"

To view the discussion, visit: https://community.jboss.org/message/786960#786960

--------------------------------------------------------------
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
[https://community.jboss.org/message/786960#786960]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130101/be0c63df/attachment.html 


More information about the jboss-dev-forums mailing list