There is no easy way to obtain the sorted order of the auto configuration classes unless putting the debugger to the application. It is a helpful information when developing/troubleshooting the auto configuration classes.

Currently, I use a reflection hack to get this information, but it's better if this is available out of the box.

This PR adds the ordering to the TRACE level loging, but even better if it could be DEBUG level.

Relates to #20732

Comment From: wilkinsona

Thanks for the proposal, @ttddyy. When we originally discussed #20732, I think we felt that it would be best to somehow include the information in the original report and the proposal here doesn't do that. There's also the actuator endpoint to consider. Should the information be part of the existing endpoint, exposed via a new endpoint, or not exposed at all? Unfortunately, I don't think we can merge this and have people start to rely upon it when there's a strong chance that we'll want to change it in the future. As indicated on #20732 we need to do some design work before we can consider making any changes in this area. Thanks anyway.