Trace and Error Adapter Output files

We are running Enterprise 4.1.1 on UNIX and our SAP Adapter writes error messages in /opt/wment41/dev_rfc.trc . In addition, our Bridge Adapter writes trace output to /var/opt/activesw/adapters40/tx.log . Is there a way to 1) change the directories where these files are written? 2) affect the level of detail written to these files?