To debug SalesLogix business rules in Visual Studio, you can enable logging in the log4net.config file.
To enable logging
Open the log4net.config file of the deployed web portal (Typically this would be something like, InetpubwwwrootSlxClientlog4net.config).
In each of the <Logger>, <Root>, and <Appender> sections, remove the existing comments.
Add the following <logger> section and save your changes:
<logger name=”BusinessRules”>
<level value=”DEBUG” />
<appender-ref ref=”LOG” />
</logger>



