Clean log messages and add inspect calling frame

To performance debug purpose.