how to get the time cost of all spring bean initialization -


all

my spring app takes long start before can respond requests.

so want check beans took time, can further more.

is there way solve this?

the easiest way enable logs, since don't know bean taking long time.

log4j.logger.org.springframework.beans.factory=debug 

you see like:

debug defaultlistablebeanfactory:450 - creating instance of bean... 

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -