Log Configuration
You can control the amount of detail written to the LLS log files, and the size at which they rotate, by editing the config.json file.
About this task
Configuring the log settings is optional. The default settings are suitable for normal operation, and you usually change them only when more detail is needed to investigate a problem.
The log section of config.json contains three
settings:
"log": {
"log_level": 1,
"disabled": false,
"max_log_size_mb": 4
}
| Setting | Description |
|---|---|
log_level |
The lowest level of message written to the log file. The default
is 1 (Info). |
disabled |
Set to true to stop writing log files. The
default is false. |
max_log_size_mb |
The size in MB at which a log file rotates. The default is
4. |
Procedure
Results
The new log settings take effect when the service restarts. The log files are written to the logs folder in the installation directory. See Troubleshooting HCL Local License Server.