More preparations for an abstract logging mechanism