Private & Confidential

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

  1. Open an administrator command prompt in the service’s install folder (C:\igloo\igloo-core-service\).

  2. Run nssm.exe edit igloo-core-service

  3. Add or change command line arguments as required, e.g.

image-20241022-104209.png

Arguments may not be present in the text input; just add them.

  1. Click “Edit service” to save changes.

The service will restart and configured logging settings will be used.

  • No labels