Example: fgllicense
Details of the license controller configuration file with an example configuration for FGLGWS.
Locate your product's license controller configuration
file.
Genero product | Default license controller configuration file |
---|---|
Genero Business Development Language (BDL) | $FGLDIR/etc/fgllicense |
Genero Report Engine (GRE) | $GREDIR/etc/grelicense |
Tip:
Default locations of the license controller configuration files are shown. You can set the location of these files by using the FGLLICENSE or GRELICENSE environment variables.
Configuration files are in the INI format. Configuration entries are in the
format
name-of-resource=value
. They are grouped under the
following categories:[server]
[license]
[log]
Categories are enclosed in square braces (
[ ]
).
You can write entries under the categories or write them including the category name using dot
notation. For example, these entries are the same:-
[server] host=localhost
-
server.host=localhost
If a resource contains a dot, for example, server.host
, the license manager
ignores the category name ([server]
) if present.
For values you need to specify, you can provide these in quotes, but quotes are not needed unless
the value contains spaces. Quotes can be added or omitted in values without spaces.
[server]
host="amon"
You can comment out resources or add comments by writing a pound sign (
#
) or
semi-colon (;
) before the text or resource.
# This is a comment
; This is a comment too
Entries that enable or disable features take boolean values. If you uncomment a resource that
takes a boolean value, it is the same as activating the resource. For example in the
log configuration section, these entries are the same:
-
[log] enabled # Enable logs, equivalent to enabled=true, default false
-
[log] enabled=true # Enable logs, default false
Example 1: fgllicense license controller configuration file
These entries configure the license controller. You can enable logs for output to
file, syslog (UNIX® only ), and console, or any
combination of those options.
Warning:
The syslog feature can not be enabled on Windows®.
; license controller configuration file
[server]
# FLM service host
# host=FLM_HOST_NAME
host=localhost
# FLM service port
# port=6800
port=6800
[license]
# License number or license reservation to use with FLM service
number = TAB#XXXXXXXX
# reservation="qa"
[log]
# Enable / disable logging - values: true | false
enabled=true
# To use the file logger
# Directory where log files are generated
# If not defined no files are created.
directory=${TEMP/log}
# To use the console logger
# console=true
# To use the syslog logger (Unix-like platforms only)
# syslog=true
categories="error,warning,info" #,debug