Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
Service Virtualization
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Logs are not Updated
Jump to
Best Answer
Saikiran Garapati
Feb 03, 2020 03:51 AM
Hi Team, We have set log4j.rootCategory=ERROR,AR values in the logging.poroperties file but vse.logs, ...
Sankar Natarajan
Feb 03, 2020 03:57 AM
Hi Sai Please, would you mind posting the complete logging.properties file content here. If ...
Saikiran Garapati
Feb 03, 2020 04:04 AM
Thanks Sankar for quick response, I will update appender name as A1 and will check. I can not share ...
Sankar Natarajan
Feb 03, 2020 04:12 AM
Best Answer
HI Sai In this entry below, the second parameter is the name of appender which is typically ...
1.
Logs are not Updated
0
Recommend
Saikiran Garapati
Posted Feb 03, 2020 03:51 AM
Reply
Reply Privately
Options Dropdown
Hi Team,
We have set log4j.rootCategory=ERROR,AR values in the logging.poroperties file but vse.logs, portal.logs, registry.logs are not updating and we are using devtest 10.2.4, Could you please let us know the reason
2.
RE: Logs are not Updated
0
Recommend
Broadcom Employee
Sankar Natarajan
Posted Feb 03, 2020 03:57 AM
Reply
Reply Privately
Options Dropdown
Hi Sai
Please, would you mind posting the complete logging.properties file content here. If you have a constraint to share, please just check if the Appender defined down below in the same document has been defined as AR. By default the appender name is A1.
--
regards
Sankar Natarajan
Original Message
Original Message------
Hi Team,
We have set log4j.rootCategory=ERROR,AR values in the logging.poroperties file but vse.logs, portal.logs, registry.logs are not updating and we are using devtest 10.2.4, Could you please let us know the reason
3.
RE: Logs are not Updated
0
Recommend
Saikiran Garapati
Posted Feb 03, 2020 04:04 AM
Reply
Reply Privately
Options Dropdown
Thanks Sankar for quick response, I will update
appender name as A1 and will check. I can not share the
complete logging.properties file content here, Could you please let me know what is A1 and what AR, how it will impact updating the logs?
Original Message
Original Message:
Sent: 02-03-2020 03:56 AM
From: Sankar Natarajan
Subject: Logs are not Updated
Hi Sai
Please, would you mind posting the complete logging.properties file content here. If you have a constraint to share, please just check if the Appender defined down below in the same document has been defined as AR. By default the appender name is A1.
--
regards
Sankar Natarajan
Original Message------
Hi Team,
We have set log4j.rootCategory=ERROR,AR values in the logging.poroperties file but vse.logs, portal.logs, registry.logs are not updating and we are using devtest 10.2.4, Could you please let us know the reason
4.
RE: Logs are not Updated
Best Answer
0
Recommend
Broadcom Employee
Sankar Natarajan
Posted Feb 03, 2020 04:12 AM
Reply
Reply Privately
Options Dropdown
HI Sai
In this entry below, the second parameter is the name of appender which is typically defined in the same document.
log4j.rootCategory=ERROR,AR
Appender Definition:
log4j.appender.A1=com.itko.util.log4j.TimedRollingFileAppender
log4j.appender.A1.File=${lisa.tmpdir}/${LISA_LOG}
log4j.appender.A1.MaxFileSize=10MB
log4j.appender.A1.MaxBackupIndex=5
log4j.appender.A1.layout=org.apache.log4j.EnhancedPatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{ISO8601}{UTC}Z (%d{HH:mm}) [%t] %-5p %-30c - %m%n
You can give any name to the appender, but just make sure whatever name you have given to the appender in this entry,
log4j.rootCategory=ERROR,AR, the same name AR is referred in the Appender definition like,
log4j.appender
.AR
=com.itko.util.log4j.TimedRollingFileAppender
log4j.appender.
AR
.File=${lisa.tmpdir}/${LISA_LOG}
log4j.appender.
AR
.MaxFileSize=10MB
log4j.appender.
AR
.MaxBackupIndex=5
log4j.appender.
AR
.layout=org.apache.log4j.EnhancedPatternLayout
log4j.appender.
AR
.layout.ConversionPattern=%d{ISO8601}{UTC}Z (%d{HH:mm}) [%t] %-5p %-30c - %m%n
Please check and make sure you referred the appender with the same name as it is defined with.
--
regards
Sankar Natarajan
Original Message
Original Message------
Thanks Sankar for quick response, I will update
appender name as A1 and will check. I can not share the
complete logging.properties file content here, Could you please let me know what is A1 and what AR, how it will impact updating the logs?
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic