User Guide

NTI E-MNG-LC Environment Monitoring System Management Software
33
Client Logs
Datalogs can be configured on Client Software by editing sems.conf file as below.
Please note license activation is required to enable all logging features.
syslogEnabled=true
syslogLevel=INFO
datalogEnabled=true
alertslogEnabled=true
1. Enabled values can be set to true or false.
2. "syslogLevel" can be set to one of 'SEVERE', 'WARNING', 'INFO', 'FINE', 'ALL'. Recommended Setting: INFO
SEVERE will log only system crash like messages.
WARNING will log severe messages and messages that user needs to look into
INFO will log all above messages plus some rudimentary messages like "server started"
FINE or ALL will log all communications and may generate several GB of data over a few days (not recommended)
3. When syslog is enabled, the Client software logs any errors and usage to a system.log file (in the same directory) which can
be used for troubleshooting.
4. When datalog is enabled, the Client software logs only currently monitored sensor data, every 8-10 second, to data.log in
tab delimited format (example record given below). Sensor value may contain appropriate sensor unit separated by whitespace:
DATE_TI ME LOG_LEVEL ENVI ROMUX_UNI T_I D UNI T_I P_ADDRESS UNI T_NAME
SENSOR_TYPE SENSOR_I NDEX SENSOR_NAME SENSOR_VALUE
Mon J ul 31 10: 08: 06 EDT 2017 I NFO 983168 192. 168. 3. 100 ENVI ROMUX- 16D Uni t 1
EXTERNAL 0 E- 16D- M Temper at ur e 1 83. 1 ° F
Note: For the edited sems.conf file to take effect, it must be edited and saved, and then the E-MNG-LC Client must be
shut down (close the application) and then restarted.
Additional configuration options that apply to the Server and Client software (requires version 3.1) include:
datalogRollPeriod=
alertslogRollPeriod=
syslogRollPeriod=
1.These can be set to one of 'HOUR', 'DAY', 'WEEK', 'MONTH' which rolls the log every such period.
-Except for HOUR, the rest of the options trigger log roll at midnight local time.
-End Of WEEK is considered Saturday at midnight
Log Roll support provides the ability to save data accumulated for set periods of time. Once the period of time has expired, the
Server and/or Client (as configured) will save the data into a numbered archive file. The newest archive will be numbered "1"
(i.e. data_archive1.log, or alert_archive1.log). When the period expires again, archive "1" will be renamed archive "2" and the
newest archive will again be archive "1". Archives will continue to be added to depending upon how many have been configured
to be kept (see value for "numSyslogsToKeep", "numDatalogsToKeep" or "numAlertslogsToKeep" ).