Reduce PE-logs size

General
General covers Articles, Reference documentation, FAQs, Downloads and Blogs that do not belong to a specific subject area. General-purpose Articles about everything and anything
Fan

Reduce PE-logs size

Hi, is it possible to reduce PE-logs size ?

 

So it must be in log4j.xml, the part about PE-logs is here, I made some tests but could just delete logs but not reduce :

<!-- This appender will detect log messages from PEs -->    
    <appender name="PELOGS" class="com.teradata.trm.log4j.MUXAppender">
        <param name="Threshold" value="INFO" />
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern"
                value="%d{ISO8601} :[%t] %m %n" />
        </layout>
        <!-- This filter allows each PE to decide on the logging level for its file. -->
        <filter class="com.teradata.trm.log4j.MDCLevelFilter" />
    </appender>

Thanks.

1 REPLY
Fan

Re: Reduce PE-logs size

Hi, I found a topic

 

http://developer.teradata.com/applications/articles/trm-server-logging-advanced-topics

 

Where it is said :

PE Log Purging

Due to their large size and marginal utility of archiving the PE logs in a test environment, a "purge" action was added which will automatically delete PE log files created in prior to given number of elapsed days. This elapsed time value is derived from "purgeWaitDays" which is set in the "processingEngineTemplate" Spring bean (see file "trm-modules/trm-processing-engine/config/common-pe-context.xml"). The minimum purge wait value is 1 (day). A value of 0 (or less) suppresses the purge action.

 

It is a post of 2010, is there an equivalent in Teradata lasts versions ?

 

Thanks