About running the Log Server from the command line

At times you might want to communicate directly with the Log Server through the command line. If you choose to do this, keep in mind that the JCD cannot automatically restart the Log Server if it is started at the command line.

The Log Server executable is $ENDECA_ROOT/bin/logserver on UNIX and %ENDECA_ROOT%\bin\logserver.exe on Windows.

The command for running the Log Server is:

logserver --port <port> --log-file-prefix <fileprefix>

The two arguments, which are required, are:

In addition to the two required arguments, there is an optional command line argument. The --gzip argument compresses the generated log files using gzip compression and adds a .gz suffix to the log file name.

Important: If you use the --gzip option, logs will not be written to disk as soon as they are received. Therefore, if the Log Server crashes unexpectedly, you may lose some log entries.