Application Level Logging for processes, issues, and errors

book

Article ID: 171221

calendar_today

Updated On:

Products

Information Centric Analytics Data Loss Prevention Core Package

Issue/Introduction

Reviewing Application Logs

Environment

Used for Information Centric Analytics (ICA) application and Import Utilities

Resolution

Why enable Application Level Logging?

Application logging provides additional information on processes, issues, and errors and occur at the application level.

Example of what is logged: Certain SQL queries, Email notification process, DIM Escalation process, etc.

How to enable Application Level Logging?

To enable ICA Application Level Logging copy the Log4net.config file to the c:\windows\system32\inetsrv directory.  This will require that the Application be restarted by either an IISReset or by restarting the WebSite.

Once enabled, the application will begin writing log files in 2mb increments.  It is recommended that if left enabled, that a cleanup process be considered to remove old log files so that the space on the hard drive does not fill up.

How to disable Application Level Logging

Navigate to c:\windows\system32\inetsrv directory and rename Log4net.config file.  This will require that the Application be restarted by either an IISReset or by restarting the WebSite.

Where are the log files?

By default the application log files are stored under the c:\temp directory on the application server.  This can be changed by updating the file value under the FileAppender tag in the Log4net.config file.

Attachments

log4net.txt get_app