Skip to main content Skip to complementary content
Close announcements banner

Modifying the path to the log file

About this task

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.

Procedure

  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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!