Added logging level management