dcsimg
Unwanted debug mesage from Struts at console
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Terence_Ng
Posted On:   Thursday, March 30, 2006 11:40 AM

Hi all, After i use log4j as my logger, lots of unwanted message appear on my console as below: [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.legend.full [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.button.unassign [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.currentMission [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.atLeastOneRequired [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.header.otherDtl [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.name [2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.global.error.general    More>>


Hi all,

After i use log4j as my logger, lots of unwanted message appear on my console as below:




[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.legend.full

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.button.unassign

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.currentMission

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.atLeastOneRequired

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.header.otherDtl

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.name

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.global.error.general

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.mItems

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.mDateTaken

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.deathCauseMaxLength

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.attachment

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty9

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty8

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.button.update

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty7

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty6

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.medStMaxLength

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty5

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty4

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty20

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty3

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty2

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.filename

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.error.nmQty1

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.header.lastUpdatedOn

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.header.attachment

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.button.submit

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.race

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.mvmtSt

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.label.status

[2006-03-29 14:25:32,937] [DEBUG] - Saving message key '.button.reset


[2006-03-29 14:25:33,375] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true

[2006-03-29 14:25:33,375] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true

[2006-03-29 14:25:33,390] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true

[2006-03-29 14:25:33,390] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true

[2006-03-29 14:25:33,390] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true

[2006-03-29 14:25:33,390] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true

[2006-03-29 14:25:33,406] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true


[2006-03-29 14:25:33,437] [DEBUG] - getMessage(en_US,label.service2msa)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale(en_US)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale(en)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale()

[2006-03-29 14:25:33,437] [DEBUG] - getMessage(en_US,label.msa2service)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale(en_US)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale(en)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale()

[2006-03-29 14:25:33,437] [DEBUG] - getMessage(en_US,label.dateStart)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale(en_US)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale(en)

[2006-03-29 14:25:33,437] [DEBUG] - loadLocale()

[2006-03-29 14:25:33,437] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true

[2006-03-29 14:25:33,453] [INFO ] [org.apache.struts.util.PropertyMessageResources] - Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true




I uses a DOMConfigurator to parse the following xml config file:




<?xml version="1.0" encoding="UTF-8"?>














value="[%d] [%-5p] - %m%n"/>




















































value="[%d] [%-5p] [%c] - %m%n"/>






























































Can anyone advise me how to disable all this message in the console as its really messy.

   <<Less
About | Sitemap | Contact