Can't disable DCR debugging

Unanswered Question
Oct 23rd, 2008

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Thu, 10/23/2008 - 07:50

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.

s.leyer Mon, 10/27/2008 - 04:32

Hello JC,

good advice. Debugging is off.

Thanks

Silvia

mladenp Fri, 10/14/2011 - 00:40

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

Actions

This Discussion