title: I don't see my track trace message in Application Insights
body: <p>I have a simple console app that tracks trace. However, it's not logging the trace message in application insights from Azure web portal. What did I miss?</p>
  
  <p>I've looked at the <a href="https://docs.microsoft.com/en-us/azure/application-insights/application-insights-console" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/application-insights/application-insights-console</a> from docs.ms.com, and couldn't find an answer there.</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
          TelemetryConfiguration.Active.InstrumentationKey = "&lt;KEY_HERE&gt;";
          var telemetryClient = new TelemetryClient();
  
          // Get the object used to communicate with the FTP server
          FtpWebRequest request = (FtpWebRequest)WebRequest.Create(Properties.Settings.Default.FtpEndpoint);
  
          // FTP credentials
          request.Credentials = new NetworkCredential(Properties.Settings.Default.FtpUserName, Properties.Settings.Default.FtpPassword);
  
          // FTP request method
          request.Method = WebRequestMethods.Ftp.ListDirectoryDetails;
  
          using (FtpWebResponse response = (FtpWebResponse)request.GetResponse())
          using (Stream responseStream = response.GetResponseStream())
          using (StreamReader reader = new StreamReader(responseStream))
          {
              telemetryClient.TrackTrace("Successfully retrieved a list of FTP directories");
              telemetryClient.Flush();
  
              Console.WriteLine(reader.ReadToEnd());
          }
      }
  }
  </code></pre>