How to disable the display of log events on the Logging page of Talend Administration Center
Customizing the installation with Talend Installer to avoid the installation of the Logging module and Talend Log Server
- In Talend Installer, select the Custom installation type.
- In the list of products to install, clear the Talend Log Server check box in order not to install this component.
Log events will not be collected and the Logging page in Talend Administration Center will not be available.
Disabling logs on the Talend Administration Center Configuration page
Before you begin
- You have launched and logged in the Talend Administration Center web application.
- Go to the Configuration page.
- In the Log4j node of the page, clear the value of the Technical logstash appender parameter.
Talend Administration Center will store the logs in the default log4j.xml file and thus the logs will not be displayed on the Logging page of the web application.
Editing the configuration files for logs
DI and MDM log events are defined in different appenders configured in logstash-talend.conf (within the Talend-LogServer) and log4j.xml files. You can comment out some of them in order to prevent these logs from appearing on the Logging page.
Additionally, in ESB, the Event Logging feature provides an optional configuration to use the Talend Log Server as backend for log events collected on the distributed Talend ESB Runtime container. By default, it is disabled but you can change it in the etc/org.talend.eventlogging.server.cfg file.
For DI, MDM and ESB logs (Talend Administration Center only):
Stop the Talend Log Server, and
open the following file:
If the server is installed as a service, you need to stop this service (called tlogserver).Tip: For Windows users: To stop the Talend Log Server, open the Services configuration panel and stop the service called tlogserver.
- Comment out the appender corresponding to the logs you do not want to display in Talend Administration Center, and save your changes.
- Stop the Talend Log Server, and open the following file: <TalendLogServerInstallationDirectory>/logstash-talend.conf
For ESB (Event Logging):
- Open the following file: etc/org.talend.eventlogging.server.cfg
- Set the elasticsearch.available=false property to false (which is the default after installation anyway).
Restart the Event Logging Server Feature in the Talend ESB Runtime
container to make this change effective.
Note that the Talend Log Server and the Logging module in Talend Administration Center are optional and if you do not need the central logging there is no further dependencies to other features within the Talend Platform.