extract daily mysql general log for checking