How to change the location of the Control Compliance Suite (CCS) services log files

book

Article ID: 158832

calendar_today

Updated On:

Products

Control Compliance Suite Windows

Issue/Introduction

 

By default all the logs are located at : C:\ProgramData\Symantec.CSM\Logs

Where "C:\ProgramData" is related to the system variable : ALLUSERSPROFILE=C:\ProgramData

Cause

If you want to locate your log in a different folder or drive due to disk space you can edit the configuration files.

Resolution

 

To change the log file location you need to edit the conrresponding .config file. Each service in CCS has a configuration file matching its name, as example :

Application service filename = AppserverService.exe.config

DPS Service filename = Symantec.CSM.DPS.exe.config

In each configuration file you have the following entry:

 <logging>
    <add key="Log.FileLogger.Severity" value="Verbose" />
    <add key="Log.FileLogger.BaseFilename" value="AppServer.Service" />
    <add key="Log.FileLogger.LogDirectory" value="AppServer" />
    <add key="Log.EventLogger.Severity" value="Critical" />
    <add key="Log.Severity" value="Warning" />
    <add key="Log.Disable" value="false" />
    <add key="Log.CategoryFilter" value="" />
    <add key="Log.TypeFilter" value="" />
  </logging>

 

Edit the following line :

<logging>
    <add key="Log.FileLogger.Severity" value="Verbose" />
    <add key="Log.FileLogger.BaseFilename" value="AppServer.Service" />
    <add key="Log.FileLogger.LogDirectory" value="C:\CCS_Logs\AppServer" />
    <add key="Log.EventLogger.Severity" value="Critical" />
    <add key="Log.Severity" value="Warning" />
    <add key="Log.Disable" value="false" />
    <add key="Log.CategoryFilter" value="" />
    <add key="Log.TypeFilter" value="" />
  </logging>

 

If the folder doesn't exist, it will be created, however make sure the user that the service is running as, can access and write to the location.

 

You need to do this for each process:

  • AppServer
  • CCSmanager
  • CCSUtil
  • CertificateManagementConsole
  • CSVDataCollector
  • DSS
  • EncryptionManagement
  • Installs
  • LDAPDataCollector
  • LiveUpdate
  • SymConsole
  • WebPortal