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

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

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -