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
Post a Comment