10-23-2008 01:45 AM
After debugging the Device and Credentials Repository, I disabled the corresponding debug mode in CS Log Configuration and I also tried out the "reset all"-button. But the dcrclient.log-file is still growing fast and filled up with debug-messages. Is there any other way to disable debugging ?
We are using LMS 3.1.0, CS 3.2.0 on Solaris.
10-23-2008 07:50 AM
Debugging can be manually disabled by modifying /opt/CSCOpx/lib/classpath/com/cisco/nm/dcr/log4j-dcrclient.properties, and changing all instances of DEBUG to FATAL. Then, you need to restart dmgtd.
10-27-2008 04:32 AM
Hello JC,
good advice. Debugging is off.
Thanks
Silvia
10-14-2011 12:40 AM
Hello Joe,
I have same problem on LMS 3.2.1. But I have two versions of that file log4j-dcrclient.properties and log4j-dcrclient1.properties. Files are slightly different, but there isn't DEBUG in both files.
log4j-dcrclient.properties:
############# LOG file details ##############################
log4j.appender.A-client1=org.apache.log4j.FileAppender
log4j.appender.A-client1.File=\\log\\dcrclient.log
log4j.appender.A-client1.Append=true
log4j.appender.A-client1.layout=org.apache.log4j.TTCCLayout
log4j.appender.A-client1.layout.DateFormat=[ EEE MMM dd HH:mm:ss z yyyy ]
##### These are DCR files ###########################################################
log4j.category.com.cisco.nm.dcr=FATAL, A-client1
##### DCR file list end ##############################################################
#### CTM File list ####################################################
log4j.category.CTM=FATAL, A-client1
log4j.category.CTM.server=FATAL, A-client1
log4j.category.CTM.client=FATAL, A-client1
log4j.category.CTM.Registry=FATAL, A-client1
log4j.category.CTM.common=FATAL, A-client1
log4j.category.com.cisco.nm.xms.ctm=FATAL, A-client1
#### CTM File list end ################################################
#Setting Additivity
log4j.additivity.com.cisco.nm.dcr=false
log4j.additivity.CTM=false
log4j.additivity.CTM.server=false
log4j.additivity.CTM.client=false
log4j.additivity.CTM.Registry=false
log4j.additivity.CTM.common=false
log4j.additivity.com.cisco.nm.xms.ctm=false
log4j.appender.A-client1.File=D:\\CSCOpx\\log\\dcrclient.log
And log4j-dcrclient1.properties:
############# LOG file details ##############################
log4j.appender.A-client1=org.apache.log4j.FileAppender
log4j.appender.A-client1.File=\\log\\dcrclient.log
log4j.appender.A-client1.Append=true
log4j.appender.A-client1.layout=org.apache.log4j.TTCCLayout
log4j.appender.A-client1.layout.DateFormat=[ EEE MMM dd HH:mm:ss z yyyy ]
##### These are DCR files ###########################################################
log4j.category.com.cisco.nm.dcr=FATAL, A-client1
##### DCR file list end ##############################################################
#Setting Additivity
log4j.additivity.com.cisco.nm.dcr=false
log4j.appender.A-client1.File=D:\\CSCOpx\\log\\dcrclient.log
Thanks,
Mladen
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide