The configuration of 3rd party software i.e. Operating Systems, Databases, Application Server, etc., in the context of this documentation is for illustration purposes only. iGrafx doesn't imply that the provided examples are the best or only way of configuration for the described scenario. Nor can we guarantee that it is the best option for performance and security. You apply the instructions at your own risk, please consult an expert of the 3rd party software if you are not sure.
If you host multiple iGrafx Platform Application Servers it may be helpful to use a federated logging system to have all nodes log into a consolidated view. While there are countless ways to approach this the following notes could be helpful for you if you happen to use Nagios Log Server or a similar tool. We can't provide a full set of instructions or support around the configuration of such a system.
Please disregard this article if you don't have experience with a central logging system.
iGrafx Platform log4j2.xml configuration
Change the log4j2.xml configuration in a text editor. This file is located in the base directory.
Change the body to the following, you may need to adjust if yo you have additional logging requirements, also make sure to replace the target host address:
The JSON based logging cannot be enabled from within the iGrafx Platform user interface. You have to add it in the JAVA_OPTS of your application server. The exact steps depend on the application server type you are using. For a Windows based system those parameters are located in the service configuration in the Java options section.
Make sure the Log Server is accepting incoming traffic as described below.
Restart the iGrafx Platform service.
Log Server configuration
In the Nagios Log server go to the Administration > Global Configuration section.
Add an Input element for the iGrafx JSON log information.
The configuration should contain:
codec => json
port => 2058
It will look like this when you are done:
You can use UDP instead of TCP. Make sure to adjust the configuration on the iGrafx Platform node as well as the Nagios Log Server. This could provide better performance in some environments, however it can also cause problems. We had problem reports mentioning UDP buffer size overflows which can be hard to track down and depend heavily on your environment, TCP is more robust in this regards. A UDP based Input configuration will look like: