logger control