Grigori Trofimov

About

Username
Grigori Trofimov
Joined
Visits
28
Last Active
Roles
Staff
Points
46
Posts
42
Badges
6
  • Re: Flags for controlling cpptest.log output

    One way I found to do this:

    In the /etc there is a file called logger.xml
    In the following block change this value:

    <appender name="FILE_CPPTEST" class="org.apache.log4j.FileAppender">
        <param name="Threshold" value="all"/>
        <param name="File" value="${cpptest.rolling.log.file}"/>
        <param name="Append" value="true"/>
        <layout class="org.apache.log4j.PatternLayout">
          <param name="ConversionPattern" value="%d{ISO8601} [%p] %m at %l%n"/>
        </layout>            
      </appender>
    

    The option are trace, debug, warn, error, and fatal. I have tried warn and it seemed to do the trick.