Track the license expiration date

The community edition has a calculated license expiration date to ensure that production deployments can be updated within our release cycles.

  • On the expiration date, the Microgateway will be terminated and a log message will be written accordingly.
  • Two months before the expiration date, a daily log message is written to inform you of the approaching expiration date. This should give you enough time to change to the latest Community Edition or directly update and purchase a Premium Edition license with extended features.
  • After license expiration, the container will be terminated automatically on every restart and a log message will be written.

Log message examples

According to the above license expiration rules, the following types of messages may occur in the runtime container logs:

At startup, the runtime container logs the following message, containing the expiration date:
{
   "@timestamp":"2021-06-28T12:51:48.799+0200",
   "priority":"info",
   "pid":"10",
   "program":"SG_master",
   "log_id":"SY-SG-CONF-170",
   "log_cat":"C",
   "message":"License [FREE MODE]: valid for ethernet addresses <n/a>: Policy Enforcement on, ICAP off, Kerberos off, Machine Learning off, API Gateway on, Microgateway on, unlimited authenticated sessions and unlimited backend applications. Expiry date [...]", "pid": "[...]", "priority": "info", "program": "SG_master", "rcpt_id": "[...]"
 }
 
Starting two months before expiration date, the following log message is written on a daily basis:
{
   "@timestamp":"2021-06-28T12:51:48.799+0200",
   "priority":"info",
   "pid":"10",
   "program":"SG_master",
   "log_id":"SY-SG-CONF-170",
   "log_cat":"C",
   "message":"License warning: Without a license, this version of the microgateway will expire and it will stop working in [...] days on [...]. Please update to a newer version of the microgateway or provide a valid license.", "pid": "[...]", "priority": "warning", "program": "SG_master", "rcpt_id": "[...]"
 }
 
After license expiration, when the container terminates automatically, the following message is logged:
{
   "@timestamp":"2021-06-28T12:51:48.799+0200",
   "priority":"info",
   "pid":"10",
   "program":"SG_master",
   "log_id":"SY-SG-CONF-170",
   "log_cat":"C",
   "message":"License error: This version of the microgateway cannot be used without a license anymore. The expiration date was on [...]. Please update to a newer version of the microgateway or provide a valid license.", "pid": "[...]", "priority": "warning", "program": "SG_master", "rcpt_id": "[...]"
 }