Hi,
I'm using Teamsite 7.1 on windows 2008 and the Teamsite installation directory is

\Interwoven\TeamSite. Currently, whenever I'm doing a preview, the logs are redirected to

/Interwoven/TeamSite/local/logs/iwui/livesite.preview.log and this information is being picked up by

\Interwoven\TeamSite\httpd\webapps\iw-preview\WEB-INF\classes\log4j.xml.
I want to use a custom log4j.xml so that I can redirect the logs in a different location.
We have achieved this in content-center, by putting a log4j.xml in

\Interwoven\TeamSite\httpd\webapps\content_center\WEB-INF\conf\livesite_customer.
even though there is a log4j.xml in,

\Interwoven\TeamSite\httpd\webapps\iw-preview\WEB-INF\conf\livesite_customer folder, the configurations are not taking effect.
I have investigated further and has seen that, the web.xml in iw-preview\WEB-INF has an entry like as below
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/classes/log4j.xml</param-value>
</context-param>
When I modify this entry to
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/conf/livesite_customer/og4j.xml</param-value>
</context-param>
I'm able to achieve the custom redirection of the logs , however after each build, this entry is getting overwritten to its original value.
Please guide me in setting my own custom log4j.xml for livesite_customer_src