# Configuring Flexlog Collector Exceptions

FlexNet Manager supports shared licenses. A user can use more than one instance of an application, but it's only counted once. However, in some cases, the debug log will still log both OUT and IN lines for the usage.

For example, the lmstat shows a single license use,

lmstat
Users of APP:  (Total of 1 licenses available)

  "APP" v1.0, vendor: vendord
  floating license

user host 127.0.0.1 (v1.0) (server/1700 2107), start Fri 2/18 15:26

but if you look at the debug log for the same period, you will see two license log in and out instances.

debug log
....
15:13:57 (serverd) OUT: "APP" user@host
15:24:49 (serverd) OUT: "APP" user@host
...
16:02:13 (serverd) IN: "APP" user@host
16:37:36 (serverd) IN: "APP" user@host
...

If we process the log file, it will show that the user has two licenses in use, even if lmstat says 1. In these cases, it's usually because the debug log doesn't "suppress" the shared duplicates.

You can configure the flc_exceptions file to set a limit for some vendors or features so that a user can, for example, only use single feature licenses on a host.

  1. Open the flc_exceptions file in the Configuration directory, which is by default in C:\Program Files\OpeniT\Core\Configuration. Notice that the file contains the following lines.

    flc_exceptions
    allow-multiples=yes
    exceptions:
    psmld
    rational

    The first line, allow-multiple=yes, sets the default behavior, allowing the users to use more than one license, except for the users of the vendor and/or feature listed in the exceptions.

  2. Add lines to set limits for either a whole vendor

    vendor format
    vendor=1

    or a single feature

    feature format
    vendor:feature=2

    For example, you want to limit the license use of slbsls users to 1 and Petrel_1_MAAtPXigP/aUA users to 2.

    Example:flc_exceptions
    allow-multiples=yes
    exceptions:
    psmld
    rational 
    slbsls=1
    slbsls:Petrel_1_MAAtPXigP/aUA=2   
  3. Save the changes.

  1. Open the flc_exceptions file in the Configuration directory, which is by default in /var/opt/openit/etc. Notice that the file contains the following lines.

    flc_exceptions
    allow-multiples=yes
    exceptions:
    psmld
    rational

    The first line, allow-multiple=yes, sets the default behavior, allowing the users to use more than one license, except for the users of the vendor and/or feature listed in the exceptions.

  2. Add lines to set limits for either a whole vendor

    vendor format
    vendor=1

    or a single feature

    feature format
    vendor:feature=2

    For example, you want to limit the license use of slbsls users to 1 and Petrel_1_MAAtPXigP/aUA users to 2.

    Example:flc_exceptions
    allow-multiples=yes
    exceptions:
    psmld
    rational 
    slbsls=1
    slbsls:Petrel_1_MAAtPXigP/aUA=2   
  3. Save the changes.

We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close