Activated logging