Logging (Web Support)
ESCAPE Web features logging. By default, the log information is written to a log file within the ESCAPE Web virtual directory.
By default, ESCAPE Web writes log information to the file “/logs/escape.log” in the ESCAPE Web virtual directory. When the log file is full, the log file is renamed and a new log file is written to. The renamed log files are considered log file backups. The backups are rolled, allowing a finite amount of disk space to be used for logging.
You may find that the log file is not being written to. This is normally a Windows permission issue. Essentially, the Internet Information Service (IIS) group must be granted “Modify” permission to the “logs” folder to perform the writing and backup of log files.
In the root of the ESCAPE Web virtual directory is the logging configuration file (EscapeWeb.dll.log4net). This is an XML file that can be edited with a text or XML editor. This file is normally set to “Read-only”. So, in order to modify the file the “Read-only” attribute must be disabled. To modify the attributes of a file, bring up the context menu (right-click) of the file and select “Properties”. Uncheck the “Read-only” attribute of the properties dialog window and select “OK”.
ESCAPE Web supports multiple logging levels. A logging level determines the detail, and consequently, the amount of logging information written.
There are five logging levels to choose from, listed here from most to least detailed; DEBUG, INFO, WARN, ERROR, and FATAL. To modify a logging level open the logging configuration file (see above) and change the “level” element value of the “EDJ.EscapeWeb” logger to the level desired.
Leave A Comment