# AES - TSAPI logging

In the last entry we worked with AES, CM and TSAPI cti links, this entry will be short but we will show how to locate AES logs and how to enable TSAPI debugging.

Logs can be seen using the web page navigate to **Status -&gt; Logs -&gt; Error Logs**:

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk-"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-407.png)</figure></div></div></div>They can be checked one by one or do a download to your PC, but logs can also be located in:

***/var/log/avaya/aes/***

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk--1"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-408.png)</figure></div></div></div>Sometimes it’s useful enabling debugging for TSAPI, the best way to do it is:

***Status -&gt; Log Manager -&gt; Trace Logging Levels -&gt; TSAPI Service -&gt; Everything on***

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk--2"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image aligncenter size-full">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-409.png)</figure></div></div></div>When enabled a new folder is created in the path ***/var/log/avaya/aes/TSAPI*** lets make a TSAPI Test using the web page but typing the wrong password:

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk--3"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-410.png)</figure></div></div></div>Now lets verify the logs (TSAPI Service log is set to disabled now):

The first thing to notice is that there is a new folder

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk--4"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-411.png)</figure></div></div></div>There are two types of logs generated one for the communication to the CM and a different one for the 3<sup>rd</sup> party application:

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk--5"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-412.png)</figure></div></div></div>As the password was set incorrectly lets verify the csta\_trace.out log and look for that error:

<div class="is-layout-flow wp-block-group has-white-background-color has-background" id="bkmrk--6"><div class="is-layout-flow wp-block-group has-white-background-color has-background"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-413.png)</figure></div></div></div>[Source: https://whereismyvoicepacket.com/aes-logging/](https://whereismyvoicepacket.com/aes-logging/)