Use logger when dumping stack
Add method to dump import configuration