Add an index to the severity column in the watchdog database table.
function dblog_update_7002() { db_add_index('watchdog', 'severity', array( 'severity', )); }