Log in to mysql from the command line:
mysql -u root -p
View the format of the binlog log
show global variables like '%binlog_format%';
Get the binlog file list
mysql> show binary logs;
View the binlog file currently being written
mysql> show master status\G
View all binlog log list show master logs;
View log open status show variables like 'log_%';