Spectrum WebTomcat catalina.out log logging multiple INFO messages each time an alarm is selected in WebApp

book

Article ID: 209463

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The Spectrum WebTomcat catalina.out log is logging multiple INFO messages each time an alarm is selected in WebApp.   This is causing the log to grow to 100+GB

Every time a user selects an alarm the following messages is logged to catalina.out. If multiple alarms are selected, then entries for each alarm is logged. These log entries seem to be related to custom menu options that are available to the users.

2021-01-20 18:23:56,661 INFO  [Webswing Process Handler] (SwingProcessImpl.java:324) [oneclickwebapp_anonym_855294ce58ad_1611185008651] Command to execute in seperate Launch /ms/dist/nms/
PROJ/spectrum104/prod/scripts/utils/updateSpectrumDeviceTag.pl -user spectrump -name xxx01web01-003338 -tag CLEAR
2021-01-20 18:23:56,661 INFO  [Webswing Process Handler] (SwingProcessImpl.java:324) [oneclickwebapp_anonym_855294ce58ad_1611185008651] Command to execute in seperate Launch /ms/dist/nms/
PROJ/spectrum104/prod/scripts/utils/assignAndAckAlarms.pl -gid 6008aa84-e82c-11ea-06f6-0080100ec131 -user spectrum
2021-01-20 18:23:56,661 INFO  [Webswing Process Handler] (SwingProcessImpl.java:324) [oneclickwebapp_anonym_855294ce58ad_1611185008651] Command to execute in seperate Launch /ms/dist/auro
ra/bin/krun -- /ms/dist/nms/PROJ/spectrum104/prod/scripts/utils/snmpV3AuthReset.pl 0xb1780a2

 

Environment

Release : 20.2 \ 10.4.2.2.22

Component : Spectrum Core / SpectroSERVER

Resolution

The XML file that controls these log prints is:

\usr\Spectrum\webtomcat\webapps\spectrum\WEB-INF\classes\log4j2.xml

In the appenders and loggers section we need to comment out the console from logging.

 

Additional Information

I copy of the log4j2.xml file with the comments is attached to this article.

Attachments

1614606140391__log4j2.xml get_app