From http://dev.mysql.com/doc/refman/5.5/en/purge-binary-logs.html:
"You can also set the expire_logs_days system variable to expire binary log files automatically after a given number of days... you should set the variable no lower than the maximum number of days your slaves might lag behind the master."
Most DBAs probably don't have to think about binary logs all that much (assuming the option is enabled). As comically inadequate as that advice from dev.mysql.com is, most users can get away with it unless two or more of the following are true about their production environment:
- Lots of mysqld servers. I mean A LOT …