We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.
Our Support systems migrated on Saturday, May 21. We'll automatically forward you to the new location for this content.

Manual Purge Log Location

Comments

2 comments

  • Avatar
    Matthew Kennedy

    Hi Jason,

    When possible, please elaborate on your "manual purge" process. For example, is this a home-made script the team runs?

    The "cee.log4j.properties" defines how the logs are built ( how many times it will roll over, file size, location, etc.. ). If the team finds there is a need to purge these logs from time-to-time, it may be worthwhile to review the log "roll over" or "size" values within this file.

    Matthew Kennedy

    0
    Comment actions Permalink
  • Avatar
    Matthew Kennedy

    Looking at the file you posted :

    #########################################
    # iitap is set to be a RollingFileAppender
    #
    # Adjust the MaxFileSize to the desired size
    # Adjust the MaxBackupIndex to the number of files to roll over into.
    log4j.appender.iitap=org.apache.log4j.RollingFileAppender
    log4j.appender.iitap.File=D:/Infogix/logs/ER/ER/${infogix.uniqueServerName}-igx.log
    log4j.appender.iitap.Append=true
    log4j.appender.iitap.MaxFileSize=10000KB
    log4j.appender.iitap.MaxBackupIndex=10
    log4j.appender.iitap.layout=org.apache.log4j.PatternLayout
    log4j.appender.iitap.layout.ConversionPattern=%d{ISO8601} %-5p (%t) %x [%c]%m%n
    log4j.appender.iitap.filter.ID=cosm.base.log.ControlFilter
    log4j.appender.iitap.filter.ID.controlEntityToMatch=FindingActionLogging
    log4j.appender.iitap.filter.ID.controlPointToMatch=FindingActionLoggingCP1
    log4j.appender.iitap.filter.ID.acceptOnMatch=true

    #########################################

    Using this section as an example, it reads that the ER "IGX" logs are being written in 10000KB chunks before rolling over ( 10x ).. The team can update these settings as necessairy

    Matthew Kennedy

    0
    Comment actions Permalink

Please sign in to leave a comment.