Save reports locally
On-Prem Qt License Server automatically syncs usage data to the Qt cloud. View these reports in Qt Customer Portal. To keep a local copy of the reports after syncing, configure your On-Prem Qt License Server instance as described below.
Note: This feature is available in On-Prem Qt License Server version 3.6.0 and later. To export reports with Offline Qt License Server, see Manage reports with Offline Qt License Server.
Configure local report storage
To save a local copy of the reports, set the QLS_AUTO_DATA_OFFLOAD environment variable to yes in your Qt License Server configuration file.
- In the
qt-license-server.servicefile, set:Environment="QLS_AUTO_DATA_OFFLOAD=yes"
- Optionally, set the path of the directory where you want to store the reports:
Environment="QLS_SYSTEM_LOG_PATH=<path>"
- In the
qt-service.xmlfile, set:<env name="QLS_AUTO_DATA_OFFLOAD" value="yes" />
- Optionally, set the path of the directory where you want to store the reports:
<env name="QLS_SYSTEM_LOG_PATH" value="<path>" />
Note: These configuration options behave differently depending on your Qt License Server type. For Offline Qt License Server, see Schedule data offload tasks.
Example configuration
In the qt-license-server.service file, set:
Environment="QLS_AUTO_DATA_OFFLOAD=yes" Environment="QLS_SYSTEM_LOG_PATH=/opt/qt-license-server/"
In the qt-service.xml file, set:
<env name="QLS_AUTO_DATA_OFFLOAD" value="yes" /> <env name="QLS_SYSTEM_LOG_PATH" value="C:\Users\a_user\Documents" />
For more information about report formats and contents, see Data collection.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.