Better logging defines