# Primary Service

Use this section to control logging for SIP and MiNet devices, SIP trunks, call recording, and clustering.

- Main log verbosity: This setting defines the amount of information the main service logs. The default is Normal verbosity, which is recommended for most sites unless advised by Product Support. Unless overridden by specific subsystems, this logging level will be used by all parts of the TUG service, and thus all MiNet and SIP traffic outside of WebRTC.

- Logging credits per second: This setting must be at the default value unless advised by Product Support. A credit system is used to prevent the logger from consuming many system resources. If the logger exceeds the number of log credits available, it will discard any additional logs. This value can be set to let the logger write more messages per second:

1. - a high value might impact system performance.

   - a low value might prevent necessary information from being logged.

- Number of logs to keep: This setting defines the number of logs from the main service to be kept. Older logs are discarded when new ones are created, and any rotated logs are compressed to save on disk space.

- Advanced jitter log: Enables additional logging from the jitter buffer, which can be useful when investigating voice quality problems. Do not enable without instructions to do so by Product Support.

- MiNet log verbosity: Separately control the verbosity of logs for MiNet devices. Use master is recommended unless actively investigating an issue. At Very verbose, full MiNet messages are dumped to the log.

- SIP log verbosity: Separately control the verbosity of logs for SIP devices and trunks. Use master is recommended unless actively investigating an issue. At Very verbose, full SIP messages are dumped to the log.