Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
About

On this page, we will cover how to use the logger on the environment and how to trouble shoot if it doesnt log.

Missing Parameters on environment

The logger relies on environment variables in order to function. 

The variables describes if the logger should run at all, and where it is supposed to log (App insights key). 
For setup please view teh page regarding the shared solution.

If an environment variable is not found, or cannot be read on the deployed environment, then the logger will create an Exception Log with details in the DEV environment. 

The entry will ALWAYS be the App Insights DEV . 

Open the Insights App on the DEV environment and search for an entry in the Exception logs: 

Image Added

If the message is copied to Notapad++ the message will have the following information, which can be used in order to find out which environment is failing:

Image Added