Replace log_only variable with an engine attribute.

Rather than pass it around to a whole stack of method calls. Much saner.