preview logging