[ticket/13211] Also use log wrapper output handler for console migrations

PHPBB3-13211