Skip to content
logo Knowledgebase

Sage 200 - Troubleshooting log files

Created on  | Last modified on 

Summary

To help with troubleshooting issues in Sage 200 there are additional log files available. This applies to Sage 200 Standard Online, Sage 200 Extra Online and Sage 200 Extra / Sage 200 Professional. Below provides more detail on how to increase logging levels and where to find the log files:

Description

TIP: Instructions for sending in data, which could include log files, can be found here.  

NOTE: Only upload log files or data to the Dropbox site if Technical Support have requested copies. 

Resolution

Sage 200 Standard / Education Online:

Sage 200 Desktop log file

To find the installation of the application and the StandardDesktop.exe.config file location you can get this by opening regedit. Once open if you browse to the following location:
HKEY_CURRENT_USER > Software > Sage > MMS

In this location, you will see an entry for 'ClientInstallationLocation' if you double click on this and copy the value. You can then paste this into the address bar of Windows Explorer.

Increase Logging

In the application location, you will find a file called StandardDesktop.exe.config. Open this file using notepad. In this file, you need to amend the following section to increase logging:

<log4net><root>
    <level value="ERROR" />
     <appender-ref ref="FileAppender">
     <!--<appender-ref ref="TraceAppender"/> -->
     <!--<appender-ref ref="DebugAppender"/> --></root>

Change the word "Error" to "Debug" on the third line and save the file. Do not forget to change this back once done or the log file will continually grow and quite quickly become to large.

Viewing the log File

The log file itself is in a different location:

Browse to C:\Users\(username)\AppData\Local\Sage\Sage200 and open the file Sage200Desktop.log.

NOTE: In case you cannot find the location of the log file the StandardDesktop.exe.config specifies where the log file will be alongside file value =:

<appender name="FileAppender" type="log4net.Appender.FileAppender"><file value="${LOCALAPPDATA}\Sage\Sage200\Sage200Desktop.log" /><appendToFile value="true"/>

Sage 200 Extra Online / Sage 200 Professional

Sage 200 Desktop log file

To find the installation of the application and the Sage200Desktop.exe.config file location you can get this by opening regedit. Once open if you browse to the following location:
HKEY_CURRENT_USER > Software > Sage > MMS

In this location, you will see an entry for ‘ClientInstallationLocation’ if you open this up and copy the value. You can then paste this into the address bar of windows explorer.

Increase Logging

In the application location, you will find a file called Sage200Desktop.exe.config. Open this file using notepad. In this file, you need to amend the following section to increase logging:

<log4net><root>
  <level value="ERROR" />
   <appender-ref ref="FileAppender">
   <!--<appender-ref ref="TraceAppender"/> -->
   <!--<appender-ref ref="DebugAppender"/> --></root>

Change the word "Error" to "Debug" on the third line and save the file. Do not forget to change this back once done or the log file will continually grow and quite quickly become to large.

Viewing the log File

The log file itself is in a different location:

Browse to C:\Users\(username)\AppData\Local\Sage\Sage200 and open the file Sage200Desktop.log.

NOTE: In case you cannot find the location of the log file the Sage200Desktop.exe.config specifies where the log file will be alongside file value =:

<appender name="FileAppender" type="log4net.Appender.FileAppender"><file value="${LOCALAPPDATA}\Sage\Sage200\Sage200Desktop.log" /><appendToFile value="true"/> 

Sage 200 Professional API

The API log file is stored in C:\Inetpub\Sage 200 App Services\Sage200NativeAPI\Log.

By default, the logging for Sage 200 Professional API is set to DEBUG. You can change the settings my amending Web.Config files stored in C:\Inetpub\Sage 200 App Services\Sage200NativeAPI.

Open this file using notepad. In this file, you need to amend the following section to change logging:

<log4net><root>
  <level value="DEBUG" />
   <appender-ref ref="FileAppender">
  </root>

Change the work "DEBUG" to "ERROR" and save the file.


Self Service and Secured Service log files

Increase Logging

  • Open System Administration
  • Click on the Logging option on the left-hand side and change the level of logging to Debug

 

         Image

Viewing the Log File

There are three log files available for 2013 and above which can be found in the following locations:

  • C:\inetpub\Sage 200 App Services\Sage200SecuredServices\Log
  • C:\inetpub\Sage 200 App Services\Sage200Services\Log
  • C:\inetpub\Sage 200 Self Service\Sage200SelfService\Log

Image

Simple, automated and all in one place
Manage your employees’ taxable benefits easily and accurately, with online submissions to HMRC. Deadline for P11D submission is July 6 2022.

Find out more >


Image