Just tested the same process with 5.1.
Master PS 5.1.65 (binlog and slowlog enabled) Slave PS 5.1.65 (binlog and slowlog enabled)
After upgrade the master to 5.1.66 I get the same error on the slave server.
Last_SQL_Error: Error 'You cannot 'ALTER' a log table if logging is enabled' on query. Default database: 'mysql'. Query: 'ALTER TABLE slow_log [...]
As Marcus said, the problem also happens on MySQL (56155) but is tagged for release 5.7.0
Just tested the same process with 5.1.
Master PS 5.1.65 (binlog and slowlog enabled)
Slave PS 5.1.65 (binlog and slowlog enabled)
After upgrade the master to 5.1.66 I get the same error on the slave server.
Last_SQL_Error: Error 'You cannot 'ALTER' a log table if logging is enabled' on query. Default database: 'mysql'. Query: 'ALTER TABLE slow_log
[...]
As Marcus said, the problem also happens on MySQL (56155) but is tagged for release 5.7.0