Hi,
This is the default behavior with JBoss. To correct this just locate your log4j.xml file at %JBOSS_HOME%/server/defaul
t/conf:
Locate the statement:
|
|
|
|
|
|
|
|
|
| To make your logfile be appended modfiy this line:
to
For log rotation modify this line:
into this:
So that it will rotate your logs once the size is 500KB (default) you can modify this valuea too. Don't forget to restart your JBoss server after the modification.
cheers,
K.