adding allow_logging to the docblock