The LogServer component controls the use of the Endeca Log Server.
Every Application Controller component contains the following attributes:
Attribute |
Description |
---|---|
component-id |
Required. The name of this instance of the component. |
host-id |
Required. The alias of the host upon which the component is running. |
properties |
An optional list of properties, consisting of a required name and an optional value. |
The LogServer component contains the following sub-elements:
Sub-element |
Description |
---|---|
ort |
Required. Port on which to run the LogServer. |
output-prefix |
Required. Path and prefix name for the LogServer output. For example, |
gzip |
Required. Controls the archiving of log files. Possible values are true and false. |
working-dir |
Working directory for the process that is launched. If it is specified, it must be an absolute path. If any of the other properties of this component contain relative paths, they are interpreted as relative to the working directory. If working-dir is not specified, it defaults to |
startup-timeout |
Specifies the amount of time in seconds that the eaccmd waits while starting the LogServer. If it cannot determine that the LogServer is running in this timeframe, it times out. The default is 60. |
log-file |
The path to the LogServer log file. If the log-file is not specified, the default is component working directory plus component name plus “.log”. |
Example 16. Example
The following example provisions a LogServer component based on the sample wine data.
<logserver component-id="wine_logserver" host-id="wine_indexer"> <port>8002</port> <working-dir> C:\Endeca\PlatformServices\reference\sample_wine_data </working-dir> <output-prefix>.\logs\logserver_output\wine</output-prefix> <gzip>false</gzip> <startup-timeout>120</startup-timeout> <log-file>.\logs\wine_logserver.log</log-file> </logserver>