*: print out configuration when necessary

Fix #1582 
snapshot