2 log-settings element, Log-settings element – Campbell Scientific CSI Web Server for Linux Installation Guide User Manual

Page 10

Advertising
background image

CSI Web Server for Linux Installation Guide

The http-settings element has a child element, https that will specify the
configuration of the HTTPS server stack. This child element must have the
following attributes:

enabled

A boolean value that will specify whether the HTTPS stack is
enabled for the web server.

service-port Specifies the TCP port on which the web server will accept

HTTPS connections.

key

Specifies the path to the file that contains the HTTPS private
key.

password

Specifies the password which is needed in order to decrypt the
HTTPS private key.

cert

Specifies the path to the file that contains the HTTPS
certificate.

4.3.2.2 log-settings Element

The server can be optionally configured to track its progress in one or more
baled log files. This feature is enabled when there is log-settings element in the
server configuration. This element recognizes the following attributes:

mode

Specifies the mode that will be used to control how log files
are written by the server. The following values are recognized
for this attribute:

disabled--Specifies that log files will not be created.

time--Specifies that the log files will be baled based upon the
passage of time and the interval specified by the interval
attribute.

size--Specifies that the log files will be baled based upon the
size of the file and the maximum size specified by the bale-
size parameter.

dir

This attribute specifies the directory where the log file(s) will
be kept. If not specified or is specified as an empty string, this
attribute value will default to the application working
directory.

file

This attribute specifies the base name that will be used when
generating log files. If this attribute is not specified or is
specified as an empty string, then it will default to
csiwebd$.log. The dollar sign character in this string marks
the part of the name that will get changed when the log file is
baled.

6

Advertising