By default, Adeptia Connect stores and displays the log messages in standard format. However, it also gives you the flexibility to log and display the messages in popular format like JSON. To set this preference, you need to follow the steps below:
Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
Setting this preference creates two new files 'KernelSystem.log' and 'WebrunnerSystem.log' which contain the logs in JSON format. These files contain the log messages written by log4j
Please find the attached . I have added the changes which are required for JSON layout. Below are the changes:
Add a new rolling file appender in the palace of the console appender with the same "console". we need to comment the console marked as yellow and add new rolling marked as green.
We need to add this new rolling file appender because for logs we need to create a new file. We can not use the existing one because "webrunner.log" and kernel log files we are writing are System.out and System.error (Standard error and output) which are not in JSon form.
We will create 2 different files KernelSystem.log and WebrunnerSystem.log in which we will write the logs in the form of JSON.
After this change you will see the logs like below: