Navigation


Ticket #9 (closed defect: fixed)

Opened 5 weeks ago

Last modified 3 weeks ago

Too much information printed

Reported by: klider Owned by: klider
Priority: major Milestone: Release 0.7.2
Keywords: Cc:

Description

After starting worker (ant run-worker) there is too much information printed on the console:

     [java] Assertion statements are currently ignored in non-forked mode
     [java] log4j:ERROR Could not connect to remote log4j server at [localhost].
 We will try again later.
     [java] 2009-08-14 15:19:53 org.springframework.context.support.AbstractAppl
icationContext prepareRefresh
     [java] INFO: Refreshing org.springframework.context.support.ClassPathXmlApp
[email protected]: display name [org.springframework.context.support.Class
[email protected]]; startup date [Fri Aug 14 15:19:53 CEST 2009]
; root of context hierarchy
     [java] 2009-08-14 15:19:53 org.springframework.beans.factory.xml.XmlBeanDef
initionReader loadBeanDefinitions
     [java] INFO: Loading XML bean definitions from class path resource [beans_l
ocal.xml]
     [java] 2009-08-14 15:19:53 org.springframework.context.support.AbstractAppl
icationContext prepareRefresh
     [java] INFO: Refreshing org.springframework.context.support.ClassPathXmlApp
[email protected]: display name [org.springframework.context.support.Class
[email protected]]; startup date [Fri Aug 14 15:19:53 CEST 2009]
; root of context hierarchy
     [java] 2009-08-14 15:19:53 org.springframework.beans.factory.xml.XmlBeanDef
initionReader loadBeanDefinitions
     [java] INFO: Loading XML bean definitions from class path resource [beans.x
ml]
     [java] 2009-08-14 15:19:55 org.springframework.context.support.AbstractAppl
icationContext obtainFreshBeanFactory
     [java] INFO: Bean factory for application context [org.springframework.cont
[email protected]]: org.springframework.beans.f
[email protected]
     [java] 2009-08-14 15:19:55 org.springframework.beans.factory.support.Defaul
tListableBeanFactory preInstantiateSingletons
     [java] INFO: Pre-instantiating singletons in org.springframework.beans.fact
[email protected]: defining beans [activeMQBroker,ca
joBroker,workerSingleThreaded,agentTSP,launcher]; root of factory hierarchy

That should be limited and information that everything is fine should be added eg.:

-------------------------------
Worker started 
-------------------------------

Change History

Changed 4 weeks ago by klider

  • milestone changed from Release 0.8 to Release 0.7.2

Changed 3 weeks ago by jeremian

  • owner changed from jeremian to klider
  • status changed from new to assigned

I have suppressed log4j:ERROR message and printed Worker welcome message on the console.

Moreover, I have fixed commons-logging dependency, so the springframework is using log4j now.

What do you think about this ticket?

PS. Samples are still using DAC 0.7.1, because version 0.7.2 haven't been released yet. Do you think we should pre-release version 0.7.2 to start using it in samples?

Changed 3 weeks ago by klider

  • status changed from assigned to closed
  • resolution set to fixed

This ticket should be closed.
New ticket for creating pre-release version 0.7.2 and updating samples to use it (Ticket #13) was created.

Note: See TracTickets for help on using tickets.