How can I force the MySQL client to output to stdout or a log file when importing a SQL file?
You can use the  general log
so enable general log
but be careful this will log everything what happens and gets fast big