Server Management - Systems Insight Manager
1825771 Members
2077 Online
109687 Solutions
New Discussion

jboss server.log file is huge

 
SOLVED
Go to solution
Kevin Stamper
Advisor

jboss server.log file is huge

I have two SIM environments. I noticed on one of the environmets the server.log file (path \Program Files\HP\Systems Insight Manager\jboss\server\hpsim\log) grows to 1 to 2GB a day while the other is only 1 to 2 MB. How do I stop the bigger one from growing so large?
2 REPLIES 2
Paul Kurtz
HPE Pro
Solution

Re: jboss server.log file is huge

I believe I found how to cut down on the size of the log files in jboss logs directory. If you stop the SIM service and make a copy of C:\Program Files\HP\Systems Insight Manager\jboss\server\hpsim\conf\jboss-log4j.xml and then edit the original one and take out the file rolling configuration. , but basically just take out the part for file rolling and keep the size rolling.




















Once you get the file updated remove all logs from C:\Program Files\HP\Systems Insight Manager\jboss\server\hpsim\logs and restart sim. It will create a boot.log and then a server.log file.
I am a HPE Employee
phr00zen
Advisor

Re: jboss server.log file is huge

hello,

Just the thing I was looking for. My logs are like 80GB so far.
Can you please tell me what we need to remove?

The log shows as


















So remove what all lines from the above?
sorry, am not much of a SIM person..

Thanks