Enable debug-level application logging
search cancel

Enable debug-level application logging

book

Article ID: 171221

calendar_today

Updated On:

Products

Information Centric Analytics

Issue/Introduction

Debug-level logging for Symantec Information Centric Analytics (ICA) provides additional information for troubleshooting processes and errors that occur at the application level.

This includes SQL calls to the RiskFabric relational database, e-mail notification processes, Symantec Data Loss Prevention (DLP) writeback operations, etc.

Environment

Version : 6.x

Component : Microsoft Internet Information Services

Resolution

Enable Debug Logging

To enable debug-level logging for ICA, follow this procedure:

  1. Download the attached file Log4net.txt and rename it as Log4net.config
  2. Copy the file Log4net.config to the following folder on the ICA application server hosting IIS:
    \Program Files\Bay Dynamics\Risk Fabric Server Web\
  3. As an administrator, open a command prompt or PowerShell terminal and execute the following command:
    iisreset.exe

Once enabled, the application will begin writing log files to the following default path:

\ProgramData\BayDynamics\Logs

The path can be changed by modifying the file value of the FileAppender key in the Log4net.config file:

<appender name="FileAppender" type="log4net.Appender.RollingFileAppender">
    <file value="${ProgramData}\BayDynamics\Logs\RiskFabric_Debug"/>

Log files will be named in the following format:

RiskFabric_Debug.<yyyyMMdd>.log

Each file will grow to 10 MB before rolling-over. This limit can also be modified in the Log4net.config file. If debug logging is left enabled, consider scripting a cleanup process to remove old log files and preserve free drive space.

Disable Debug Logging

To disable debug-level logging for ICA, follow this procedure:

  1. In Windows Explorer, navigate to the following path:
    \Program Files\Bay Dynamics\Risk Fabric Server Web\
  2. Rename the file Log4net.config as Log4net.txt, or delete the file
  3. As an administrator, open a command prompt or PowerShell terminal and execute the following command:
    iisreset.exe

Attachments

log4net.txt get_app