Using the Aeon API Log

Print Friendly and PDF Follow

The Aeon API log is located by default at C:\Program Files (x86)\Aeon\Logs\ on your Aeon Server. The name of the log file varies depending on the major version of Aeon that is installed:

  • Aeon 6.0: AeonApi.log
  • Aeon 5.2 and earlier: AeonWebApi.log

The API log will contain detailed troubleshooting information for both the Aeon API, and in Aeon 6.0 or later, the Aeon Web Client. This is the primary log file that should be used when troubleshooting the Aeon Web Client. 

Enabling Debug Logging

By default, the Aeon API log will be set to log information at the "INFO" level. The level of logging can be escalated to "DEBUG" to provide more detailed information for troubleshooting purposes following the steps below:

  1. Navigate to the API installation location on your Aeon Server:
    • Aeon 6.0 (default location): C:\Program Files (x86)\Aeon\AeonApi\
    • Aeon 5.2 and earlier (default location): C:\Program Files (x86)\Aeon\WebApi\
  2. Open the AeonApi.log.config or AeonWebApi.log.config file in a text editing application such as Notepad++ (the filename varies based on the major version of Aeon that is installed).
  3. Change the following line of code located on line 4 of the file:
    <level value="INFO" />
    To this:
    <level value="DEBUG" />
  4. Save the file.
  5. Debug logging is now enabled for the Aeon API.

As using debug logging will greatly increase the number of log entries generated, this setting should be changed back to "INFO" as soon as troubleshooting is finished.

Note: The log level configured in the appsettings.json file located within the API installation location on the Aeon Server should not be modified. Modifying this setting may lead to unexpected behavior with the level of logging performed by the Aeon API.

Questions?

If this article didn’t resolve your issue, please contact Atlas Support for assistance:

Contact Support