Implement log queue