incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <bhais...@apache.org>
Subject Re: where is the log for initialization phase? Spring bean's init()
Date Wed, 13 Feb 2013 06:40:28 GMT
Pl. do that if possible, I cannot see debug messages during the
startup of mgmt server.

Regards.

On Wed, Feb 13, 2013 at 5:49 AM, Frank Zhang <Frank.Zhang@citrix.com> wrote:
>     <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:kelven.yang@citrix.com]
>> Sent: Tuesday, February 12, 2013 4:05 PM
>> To: cloudstack-dev@incubator.apache.org
>> 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" <Frank.Zhang@citrix.com> 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
>

Mime
View raw message