finished logging architecture