Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

Can't disable DCR debugging

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.

3 REPLIES
Cisco Employee

Re: Can't disable DCR debugging

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.

New Member

Re: Can't disable DCR debugging

Hello JC,

good advice. Debugging is off.

Thanks

Silvia

New Member

Can't disable DCR debugging

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

525
Views
5
Helpful
3
Replies
CreatePlease to create content