ATG Reporting records generic events (e.g. site visit) and search events to rotating log files using logger components that run on the Knowledge and Self Service servers. These log files are processed by loader components running on the Management (or searchadmin) server. By default, the loggers and loaders look for these log files in the server’s logs directory /home/servers/this_server/logs. This is a different location for the loggers and loaders so the logger and loader fileSystem property must be overridden to point to a common location. To do this, define a virtual file system (VFS) component and point the loggers and loaders at that component.

  1. Modify the localconfig/atg/reporting/datawarehouse/loaders/
    SearchLoaderVFS.properties
    on the svcss, svcagent and searchadmin servers to contain the following:

    # Virtual file system for Search datawarehouse loaders
    $class=atg.service.vfs.LocalVFSService
    $scope=global

    # By default looks for dictionary xml files in the localconfig at the
    following location.
    # Override this location if you would like to keep the files somewhere
    else.
    localDirectory=c\:\\atg\\SearchReportingLogs

  2. Edit the logger components on svcss and svcagent to set fileSystem to point to the new SearchLoaderVFS component by adding fileSystem=/atg/reporting/
    datawarehouse/loaders/SearchLoaderVFS
    to the following files:

    localconfig/atg/reporting/datacollection/search/
     EnvironmentFileLogger.properties
    localconfig/atg/reporting/datacollection/search/
      ProjectFileLogger.properties
    localconfig/atg/reporting/datacollection/search/QueryFileLogger.properties
    localconfig/atg/reporting/datacollection/search/TopicFileLogger.properties
    localconfig/atg/reporting/datacollection/search/
      UseSearchEnvironmentFileLogger.properties
    localconfig/atg/reporting/datacollection/search/
      ViewContentFileLogger.properties
    localconfig/atg/reporting/datacollection/userprofiling/
      SegmentFileLogger.properties
    localconfig/atg/reporting/datacollection/userprofiling/
      SiteVisitFileLogger.properties
    localconfig/atg/reporting/datacollection/userprofiling/
      UserFileLogger.properties

  3. Edit the loader components on the searchadmin server to reference SearchLoaderVFS by adding fileSystem=/atg/reporting/
    datawarehouse/loaders/SearchLoaderVFS
    to the following files:

    localconfig/atg/reporting/datawarehouse/loaders/
      EnvironmentLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/
      QuestionTypeGroupLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/
      SearchNumberGroupLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/
      SearchQueryLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/SiteVisitLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/
      TopicGroupLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/TopicLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/
      UseSearchEnvironmentLoader.properties
    localconfig/atg/reporting/datawarehouse/loaders/
      ViewContentLoader.properties

 
loading table of contents...