Fixes #5219: Add option to clear Pulp data.

there should be a `logger` method available directly in the context