Graylog Logging

The following example demonstrates Graylog logging.

To enable Graylog logging

1. Start Graylog. You could run Graylog using Docker or run it as a a virtual machine appliance under VirtualBox, depending on your preference.
2. Set graylog.host to localhost to specify the Graylog server and set your desired log threshold (for example, INFO or LICENSING). If using the FlexNet License Server Administrator, you would use a command such as the following:

flexnetlsadmin -authorize admin -passwordConsoleInput -config -set graylog.host=localhost graylog.threshold=LICENSING

Instead of using the FlexNet License Server Administrator you could also request a new producer-settings.xml file from your software producer.

3. Restart the license server. Log information will now be sent to Graylog on port 12201 using UDP (the default port and protocol).
4. Configure Graylog to receive the log information. For information, consult the Graylog documentation.