igloo-core-service’s logging is configured via command line arguments, not config.json
.
Options and defaults
Console log level -
--console-log-level debug
File log level -
--file-log-level info
Maximum age of log files (in days) -
--file-max-age 7
Log levels are, in order: debug
, verbose
, info
, warn
, and error
. Setting a log level will log anything with that priority or higher (e.g. by default the logfile will contain all info
, warn
, and error
messages).
Configuration with nssm
The service is registered, managed, and started using nssm. Command line arguments provided to the service when it starts should be configured there, using the nssm.exe
executable in the service’s installation folder.
Open an administrator command prompt in the service’s install folder (
C:\igloo\igloo-core-service\
).Run
nssm.exe edit igloo-core-service
Add or change command line arguments as required, e.g.
Arguments may not be present in the text input; just add them.
Click “Edit service” to save changes.
The service will restart and configured logging settings will be used.