Modifying the path to the log file - 6.4

Talend Repository Manager User Guide

EnrichVersion
6.4
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Administration and Monitoring
EnrichPlatform
Talend Repository Manager

The log events of Talend Repository Manager are stored by default in a file as defined in the Log4j.xml file located at <Tomcat_home>/webapps/Talend-RepositoryManager/WEB-INF/classes.

You can decide to write log information in a different file, or change any of the parameters responsible for delivering log events.

  1. Browse to the Log4j.xml file at <Tomcat_home>/webapps/Talend-RepositoryManager/WEB-INF/classes.

    <!-- The file appender -->
    	<appender name="TalendAppender" class="org.apache.log4j.RollingFileAppender">
    	<!-- WARNING when relative path is used, absolute path of log file will depend on how Tomcat is launched -->
    		<param name="File" value="/home/sbessaies/tmp/Talend/repomanager/TIS_repository_manager.log" />
    		<param name="Append" value="true" />
    		<param name="Threshold" value="debug" />
    		<param name="MaxFileSize" value="1000KB" />
    		<param name="MaxBackupIndex" value="100" />
    		<layout class="org.apache.log4j.PatternLayout">
    			<param name="ConversionPattern"
    				value="%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1} %x - %m%n" />
    		</layout>
    	</appender>

  2. Modify the file parameter to govern the path to the log file according to your needs.