Author Message
MCDeveloper
Joined: Jun 29, 2015
Messages: 66
Offline
Hello,

tomcat catalina.out is growing like crazy and I found out that it also contains everything that my application logs into trace.log.
Is there a way to disable this from happening? It started when I have upgraded my OD from 7.0 to 7.1.

I have tomcat7.0.70 and OD 7.1.0.1202.

thank you!
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
I do not believe we changed anything from 7.0 to 7.1 in that area. Did you switch tomcats? You can disable the trace and or look at the ddlog4j.properties.
MCDeveloper
Joined: Jun 29, 2015
Messages: 66
Offline
Thanks Ross,

It is odd, even these lines are logged in catalina.out also:

- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Assigning [CONF_GRAMMAR_URL] to [grammarURL]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Assigning [es-us] to [lang]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition1] Expression [isProviderCall] Is True
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition2] Expression [isGeneralInfoCall] Is True
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition3] Expression [isCareMgmtCall] Is True
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Assigning [TransferPointsMbrEng:MIVR_Default] to [TransferPointsConstants:IVR_Default]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Assigning [TransferPointsConstants:IVR_Default] to [TransferPoint]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Concatenating [lang] to [grammarURL]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Concatenating [/] to [grammarURL]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Assigning [CONF_CUSTOM_AUDIO_URL] to [customAudioURL]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Concatenating [lang] to [customAudioURL]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Concatenating [/] to [customAudioURL]
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : Using SCESession C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC servlet : Greeting
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition] Expression [isCareMgmtCall] Is True
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition] Expression [isProviderCall] Is True
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition] Expression [isGeneralInfoCall] Is True
- C9C6FCEE07851227E2BE3F010ADFABC1:/CHCHHSC : [condition] Expression [ConfBroadcastMessage] Not Empty [null]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Using SCESession C9AACFB907451A07B914558592CE26BC:/CHCHHSC servlet : ProviderInfo-trimTaxIDValue
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___confidence to complex: GetTaxID:confidence as [1]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___inputmode to complex: GetTaxID:inputmode as [dtmf]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___interpretation to complex: GetTaxID:interpretation as [DIGIT="7"]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___noinputcount to complex: GetTaxID:noinputcount as [0]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___nomatchcount to complex: GetTaxID:nomatchcount as [0]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___utterance to complex: GetTaxID:utterance as [760231597]
- C9AACFB907451A07B914558592CE26BC:/CHCHHSC : Storing :GetTaxID___value to complex: GetTaxID:value as [DIGIT="7"]



Is that how it should be?
I am attaching ddlog4j.properties, could you please let me know if there is anything in there that could be directing the logging to catalina?

Thank you!!!
Regards
Filename ddlog4j.properties [Disk] Download
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
put a # in from of the first line in the file. That is supposed to happen when you export an OD app. I checked and we do that. Someone must have deleted the #.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
File should look like


# log4j.rootLogger=error, stdout

log4j.logger.Dialog.Designer.TraceWriter.CHCHHSC= debug, TCHCHHSC
log4j.logger.Dialog.Designer.ReportWriter.CHCHHSC= debug, RCHCHHSC

# Console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
. . .
. . .
. . .
MCDeveloper
Joined: Jun 29, 2015
Messages: 66
Offline
Well, I went straight to my app server to make the change to the file in there... and guess what? the "#" was already at the beginning of the line. :-(
My apologies... the ddlog4j.properties file that I have sent you was from the OD workspace, not the one that is included in the war... I did not imagine OD was changing the file at exporting time...

So, there has to be something else wrong... Below is the file that is there in the production app server, Do you see anything wrong?
Thank you!!

# log4j.rootLogger=error, stdout

log4j.logger.Dialog.Designer.TraceWriter.CHCHHSC= debug, TCHCHHSC
log4j.logger.Dialog.Designer.ReportWriter.CHCHHSC= debug, RCHCHHSC

# Console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss:SSS} %5p - %m%n

# Report File.
log4j.appender.RCHCHHSC=org.apache.log4j.RollingFileAppender
log4j.appender.RCHCHHSC.MaxFileSize=20MB
log4j.appender.RCHCHHSC.MaxBackupIndex=10
log4j.appender.RCHCHHSC.File=${dd.apphome}/data/log/report.log
log4j.appender.RCHCHHSC.layout=org.apache.log4j.PatternLayout
log4j.appender.RCHCHHSC.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss:SSS} %5p - %m%n
log4j.appender.RCHCHHSC.Encoding=UTF-8


# Trace File.
log4j.appender.TCHCHHSC=org.apache.log4j.RollingFileAppender
log4j.appender.TCHCHHSC.MaxFileSize=30MB
log4j.appender.TCHCHHSC.MaxBackupIndex=40
log4j.appender.TCHCHHSC.File=${dd.apphome}/data/log/trace.log
log4j.appender.TCHCHHSC.layout=org.apache.log4j.PatternLayout
log4j.appender.TCHCHHSC.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss:SSS} %5p - %m%n
log4j.appender.TCHCHHSC.Encoding=UTF-8



RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
That file looks correct. You could try removing

# Console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{dd/MM/yyyy HH:mm:ss:SSS} %5p - %m%n

and see what happens. Restart the server.
MCDeveloper
Joined: Jun 29, 2015
Messages: 66
Offline
I removed the consoleAppender as you suggested, but still no luck. (I did restart tomcat).
Attached is the log4j.properties under lib folder. Could you please take a look at that one?

Thank you!
Filename log4j.properties [Disk] Download
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
It is possible that could be affeting things. This file is not from OD.
Go to:   
Mobile view