Skip to main content
Avalara Help Center

How do I enable logging in Sage 300?


You want to turn on logging in Sage 300 so you can see logs of communication between Sage and Avalara.


Sage 300


  • On the Sage server, locate the AvaTax Bin folder in Program Files (x86)
  • Open the adapter.dll.config file in notepad.  It will look like this:

<?xml version="1.0" encoding="utf-8"?>



                                <section name="ServiceConfig" type="Avalara.AvaTax.Common.Configuration.XmlSerializerSectionHandler, Avalara.AvaTax.Adapter"/>

                                <section name="RequestSecurity" type="Avalara.AvaTax.Common.Configuration.XmlSerializerSectionHandler, Avalara.AvaTax.Adapter"/>


                <ServiceConfig type="Avalara.AvaTax.Adapter.ServiceConfig, Avalara.AvaTax.Adapter">





                <RequestSecurity type="Avalara.AvaTax.Adapter.RequestSecurity, Avalara.AvaTax.Adapter">





                <!-- AvaLogger : is used for adapter logging

                     logFilePath : is the path where adapter log files will be created relative to the location of the adapter assembly

                     logLevel : determines the level of all three types of adapter logging (NONE (default) | DEBUG | INFO | WARNING | ERROR | FATAL)

                                   logMessages : enables event logging to Adapter.YYYY-MM-DD.log (true | false)

                                   logTransactions : enables logging the results of each web service tranaction to AdapterTransactions.YYYY-MM-DD.log (true | false)

                                   logSoap : enables SOAP message logging to AdapterSoap.YYYY-MM-DD.log (true | false) -->

                <AvaLogger logFilePath=" " logLevel="NONE" logMessages="false" logTransactions="false" logSoap="true"/>


  • You will want to edit the last section (in bold above) as follows:
    • Log file path should be “C:\logs” (not " ")
    • Loglevel should be “DEBUG”  (not "NONE")
    • Logsoap should be “TRUE” (not "true")
  • You have now enabled logging. The logs will be written to the "logs" folder on the C: drive.
  • Was this article helpful?