Service Virtualization

 View Only
  • 1.  Vse logs not truncated

    Posted Dec 10, 2014 05:35 AM

    Hello everyone,

    I noticed that the files vse_***.log (where *** is the name of the service) and the file vse_matches.log reached very large size (over 1 GB).
    I see that the logs are not truncated to 10mb logs as set in logging.properties.

    I report the data in logging.properties for the part relating to log indicted and hope someone can help me:

    log4j.logger.VSE=INFO, VSEAPP

    log4j.additivity.VSE=false

    log4j.appender.VSEAPP=com.itko.util.log4j.TimedRollingFileAppender

    log4j.appender.VSEAPP.File=${lisa.tmpdir}/vse_matches.log

    log4j.appender.VSEAPP.MaxFileSize=10MB

    log4j.appender.VSEAPP.MaxBackupIndex=20

    log4j.appender.VSEAPP.layout=org.apache.log4j.EnhancedPatternLayout

    log4j.appender.VSEAPP.layout.ConversionPattern=%d{ISO8601}{UTC}Z (%d{HH:mm})[%t] %-5p - %m%n

     

    Thanks in advance to anyone who can help me, regards,

    Luca.