<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml,
classpath:componentContext.xml</param-value>
</context-param>
I think you can add a listener which initializes log4j ahead Spring's
ContextLoaderListener
> -----Original Message-----
> From: Kelven Yang [mailto:[email protected]]
> Sent: Tuesday, February 12, 2013 4:05 PM
> To: [email protected]
> Subject: Re: where is the log for initialization phase? Spring bean's init()
>
> We need to enable log4j ahead of Spring initialization, this is currently not
> there yet but I will try to fix it.
>
> Kelven
>
> On 2/12/13 3:16 PM, "Frank Zhang" <[email protected]> wrote:
>
> >I add some log in bean's init() method, however, it never shows up in
> >vmops.log Where can I log for initialization phase?
> >
> >I am using ' mvn -pl :cloud-client-ui jetty:run' to start mgmt server