Syntax:
SET sql_log_bin = {0|1}

Disables or enables binary logging for the current connection
(sql_log_bin is a session variable) if the client has the SUPER
privilege. The statement is refused with an error if the client does
not have that privilege.

URL: http://dev.mysql.com/doc/refman/5.1/en/set-sql-log-bin.html

