search cancel

How to increase log retention in Liveupdate Administrator while troubleshooting


Article ID: 221861


Updated On:


Endpoint Protection


While reviewing the lua-application.log file to troubleshoot LiveUpdate Administrator (LUA), it was found the data does not contain the expected date range. The previous logs have been purged.


Release : Liveupdate Administrator 2.3.8 and 2.3.9 (LUA)


To increase log retention,

  1. Stop both the LUA Services
  2. Go to \\Symantec\LiveUpdate Administrator\tomcat\webapps\lua\WEB-INF\classes\
  3. in log4j2.xml file make the below change (keep a backup of this file):
    <RollingFile name="ROLL" fileName="C:/Program Files (x86)/Symantec/LiveUpdate Administrator/logs/lua-application.log" filePattern="C:/Program Files (x86)/Symantec/LiveUpdate Administrator/logs/lua-application-%i.log"> <PatternLayout> <Pattern>%d [%t] %-5p %c{2} %x - %m%n</Pattern> </PatternLayout> <Policies> <SizeBasedTriggeringPolicy size="5 MB"/> </Policies> <DefaultRolloverStrategy max="50"/>
    <DefaultRolloverStrategy max="50"/>
    make it <DefaultRolloverStrategy max="500"/>
  4. Save and exit
  5. Start LUA Services.

Note : This is recommended only while troubleshooting if suggested by Support engineer and has to be reverted to default as this may take large disk space.