Encapsulated log setup