better log control