Add terminal logging