Increase log size and count

Version 1

    Details

    PROBLEM
    When a specific debug logging has been enabled, the default log setting overwrites the information too fast and need to increase the size and count temporarily.

    Important Note: Please use this with caution and temporarily. Increasing log size and count may have an effect on performance and once troubleshooting has been completed, restore to default setting.

    Default Setting:

    [======CODE======]
    log4j.appender.R.MaxBackupIndex= 2
    log4j.appender.R.MaxFileSize= 5120KB
    [======ENDCODE======]


    ENVIRONMENT
    LiveTime

    RESOLUTION
    [list=1:]

  • Stop LiveTime
  • Open/Edit logging.properties as an administrator from LiveTime\Server\webapps\Service\WEB-INF\Service.woa\Contents\Resources
  • To increase the count to 9:

    [======CODE======]
    log4j.appender.R.MaxBackupIndex= 9
    [======ENDCODE======]

  • To increase the size to 10MB:

    [======CODE======]
    log4j.appender.R.MaxFileSize= 10240KB
    [======ENDCODE======]

  • Save the change.
  • Start LiveTime.