cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1086
Views
5
Helpful
3
Replies

Can't disable DCR debugging

s.leyer
Level 1
Level 1

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 3

Joe Clarke
Cisco Employee
Cisco Employee

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.

Hello JC,

good advice. Debugging is off.

Thanks

Silvia

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

Review Cisco Networking for a $25 gift card