Changing the default log file location in acserverconfig.xml
iHub writes log entries by default to AC_DATA_HOME\server\log. The log location is no longer specified in acserverconfig.xml.
To specify a different location or manually update a previously edited log setting, the administrator must modify acserverconfig.xml to contain a LogDirectory attribute that points to a non-default location by performing the following tasks:
1 Open AC_DATA_HOME\config\iHub2\acserverconfig.xml in a text editor.
2 Insert or edit a LogDirectory attribute that specifies the path to a different log folder.
For example, in
Listing 3‑1, an inserted LogDirectory attribute specifies the non‑default log location, C:\Actuate\iHub\log, for the following properties:
Template
Reporting service
Viewing service
Integration service
Caching service
Listing 3‑1 acserverconfig.xml edited log file location settings
<Template
Name="urup"
PMDPort="8100"
ActuateBuild="220A130126"
LogDirectory="C:\Actuate\iHub\log"
ActuateVersion="2"
ServerSOAPPort="11100"
StartArguments="-Xmx2048M -Xms1024M -XX:MaxPermSize=128m com.actuate.iserver.server.Server"
AppContainerPort="8900"
<ReportingService
LogDirectory="C:\Actuate\iHub\log"
EnableGenerationService="true"/>
<SOAPDispatchService
EnableRequestService="true"
SOAPDispatchSOAPPort="8000"/>
<ViewingService
EnableRender="false"
LogDirectory="C:\Actuate\iHub\log"
EnableViewingService="true"
MSAnalysisTunnelPort="9021"/>
<IntegrationService
LogDirectory="C:\Actuate\iHub\log"
EnableIntegrationService="true"/>
<CachingService
LogDirectory="C:\Actuate\iHub\log"
EnableCachingService="true"/>
...
</Template>