> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# HOW TO : Configure Jboss to append log files instead of overwriting them
- URL: https://kudithipudi.org/how-to-configure-jboss-to-append-log-files-instead-of-overwriting-them/
- Published: 2012-04-25T16:26:52.000Z
- Updated: 2012-04-25T16:26:52.000Z
- Description: If you use the default logging options for Jboss, it has a nasty habit of overwriting log files on a restart. So, if you were in...
- Author: admin
- Tags: HOWTO, Technology, Uncategorized, #wp, #wp-post, #Import 2026-08-23 02:32

If you use the default logging options for Jboss, it has a nasty habit of overwriting log files on a restart. So, if you were in the middle of troubleshooting an issue and had to restart Jboss, you will end up loosing all the historic data. You can change this default behavior by changing one option in the log4j config file

- You don’t even have to restart Jboss for this new setting to take place, since Jboss reads the log4j config every 60 seconds and updates the logging parameters accordingly.

Edit the $JBOSS\_HOME/server/$JBOSS\_PROFILE/conf/jboss-log4j.xml and replace

```
<param name="Append" value="false"/>
```

with

```
<param name="Append" value="true"/>
```