old_console/license/config_example.yaml
2024-11-02 14:12:45 +03:00

22 lines
1.3 KiB
YAML

server:
url: https://license.iwarma.ru # Url to license server
ignore_ssl_errors: true # if true, client will ignore SSL errors when connecting to server
api:
port: 8050 # Local port for API
log:
filename: license.log # Where to write log
max_size: 100 # Max size of log file before rotation
max_bkup: 10 # How many old logs files exist
max_age: 10 # How long we need to keep old log files
compress: true # Should we compress ol log files
level: 4 # Verbosity of logging. Default is 4. Max is 6 (trace)
formatter: text # Formatter type. Valid values are "json" and "text"
force_colors: true # If formatter is "text", this option enable color output for logging
license:
file_name: license.bin # Where to store license file
no_time_check: false # If true, no check to lifetime for license will be done. Default is false. For testing and debug purpose. Use with caution
product_name: "My best App" # Product name to check license fot it. Default is empty. Warning! Don't put in config file!
no_hardware_check: false # If true, no check to hardware UUID in license file will be done. Defaulf is false. Warning! Don't put in config file!